PDA

View Full Version : Staring with Extjs4



roykrish
22 Dec 2011, 12:31 AM
Hi,

I am absolutely new with Extjs4(Sencha). I have couple of questions. Could someone help me with them.

[1] Which IDE I should use to start with? Can I use Eclipse?
[2] Is there a simple sample project which I can put in Eclipse and start playing with it?

Thanks and Regards,
-krishnendu

bsmulders
22 Dec 2011, 12:44 AM
I am using Eclipse combined with the JavaScript Development Tools (optional install). As for testing and debugging, I use Firefox with the Firebug plugin installed.

If you need an example project, I can recommand to look at github(.com). For example:
https://github.com/calendee/Ext-JS-4.X-CRUD-Demo

For examples of Ext JS 4 components, have a look at the examples bundled with the .zip or at:
http://dev.sencha.com/deploy/ext-4.0.0/examples/

roykrish
22 Dec 2011, 12:57 AM
The example project present at github, can I take it into eclipse?

Can you tell me a standard project folder structure in eclipse ?

When you say JavaScript Development Tools are they come as a plugin for Eclipse ?
***************
***************

I am using Eclipse combined with the JavaScript Development Tools (optional install). As for testing and debugging, I use Firefox with the Firebug plugin installed.

If you need an example project, I can recommand to look at github(.com). For example:
https://github.com/calendee/Ext-JS-4.X-CRUD-Demo

For examples of Ext JS 4 components, have a look at the examples bundled with the .zip or at:
http://dev.sencha.com/deploy/ext-4.0.0/examples/

IvanJ
27 Dec 2011, 10:58 AM
I think the easiest way to start is by playing ("fiddling") around on jsFiddle.net; here's my ExtJS 4.0.7 base which you are free to do with as you please:

http://jsfiddle.net/YangHax/zCJU9/

Also what helps me is following ExtJS blogs:

Sencha Blog (http://www.sencha.com/blog)
WhatIsExtJS.com (http://whatisextjs.com) (shameless plug)
In the Folds (http://ahlearns.wordpress.com/category/extjs/)
ExtJS Tutorials (http://extjs-tutorials.blogspot.com/)

jay@moduscreate.com
28 Dec 2011, 7:08 AM
http://sencha.com/learn
http://manning.com/garcia3
http://moduscreate.com/blog
http://sencha.com/blog

toolware
28 Dec 2011, 7:13 AM
Is there a way to subscribe to http://moduscreate.com/blog ?

I don't see any RSS feeds...

mschwartz
28 Dec 2011, 7:52 AM
The IDE question boils down to what server-side language you intend to use. Few IDEs have really good support for mixed language projects.

I happen to be writing a lot of server-side JavaScript and client-side JavaScript these days, so WebStorm from JetBrains turns out to be great.

ItDepends
28 Dec 2011, 11:23 AM
with reSharper installed, a lot of nice highlighting and refactoring tips. I don't run Lint because Visual Studio have marked all errors which tend to cause strange mistakes for me so far.

roykrish
1 Jan 2012, 10:54 PM
Thank you all for your replies. This really helped.

If anyone is using something like this ->

[1] Use Sencha ( extjs ) for front end and then at back side we can use JSPS and Struts. All the back end work will be done in Struts/Spring java files and from front end Extjs, java scripts will do ajax calls to Struts actions. First of all I am not sure, if this is possible or not ? If this is possible, how the project structure should look with all the Extjs files and struts java files ?

[2] If anyone is using Eclipse for a project using Sencha. If yes, how the project structure look like? A snapshot of the project structure will help immensely.

Thanks,
-Krishnendu