PDA

View Full Version : what does "ext.jsb2" do?



hdc1112@gmail.com
7 Apr 2010, 12:59 AM
i am new to ext, i found dojo's document hard to understand .. and the declarative programming model is not friendly to code re-use.

i imported ext.jsb2 in spket IDE, but i found it doesn't work besides syntax highlight, does it support auto-complete?

thanks.

steffenk
7 Apr 2010, 1:29 AM
sure it shows auto complete in spket
http://buzz.typo3.org/uploads/pics/code-completition.jpg

hdc1112@gmail.com
7 Apr 2010, 1:43 AM
i think i have installed the spket correctly, because i could see the spket perspective in eclipse, and i have configured it, add ext.jsb2, and then choose all.

what is the accelarator key for auto-completion? is there any further configuration i have missed ? thank you!

steffenk
7 Apr 2010, 1:45 AM
I wrote a short article on how to do, have a look at
http://buzz.typo3.org/people/steffen-kamper/article/javascript-extjs-devolpent-with-eclipse/

hdc1112@gmail.com
7 Apr 2010, 5:01 AM
thanks

hdc1112@gmail.com
7 Apr 2010, 5:29 AM
when you import ext.jsb2, just choose the default setting, don't choose all, just choose sth like "ext all", "ext css", etc.

then, it's perfectly ok.

mschwartz
7 Apr 2010, 5:51 AM
Eclipse seems like such a mess. What do you download to install it? There's so many different configurations to choose from, and the descriptions are all buzzwords that if I don't know them I probably don't want 'em.
:D

I'm actually using Zend Studio, which is built on eclipse, and I like it a lot. I know I could install spket (or aptana) in it, but I really don't want to mess with ZS since it's working pretty good as-is.

I'm downloading this:

http://www.eclipse.org/downloads/download.php?file=/technology/epp/downloads/release/galileo/SR2/eclipse-php-galileo-SR2-win32.zip

steffenk
7 Apr 2010, 6:28 AM
i use Zend Studio for php-only and eclipse PDT + spket + rockstarapps for JS. Works pretty well.
Zend sucks with JS.

btw - this is a nice tip for Zend:
http://docs.thinkfree.com/docs/view.php?dsn=860083

mschwartz
7 Apr 2010, 6:48 AM
What do you install on the server? XDebug or ZendDebugger? Or ZendServer CE?

I've found that with apps with lots of Ajax going on, ZendDebugger returns empty responses without running my server side code at all (for some things).

Last time I tried XDebug, it insisted on breakpointing at the first line of every request.

steffenk
7 Apr 2010, 6:54 AM
I use XDebug. But always have problems with debug. So i normally stick to simple selfmade file debug when examing ajax calls. Or simply echo to view in console.

There is a possibility to use firePHP, but i had no time yet to use it.

All debugging in Zend and Eclipse is difficult to setup correct. With eclipse the debug is too slow, Zend is slow too. I sometimes switch to Netbeans only for debugging.

mschwartz
7 Apr 2010, 7:12 AM
Have you seen http://helma.org?

steffenk
7 Apr 2010, 7:23 AM
no, will look at it, thx!

mschwartz
7 Apr 2010, 7:35 AM
It gives you a JS debugger in a window, much like firebug, but for server-side. So the IDE debugging doesn't matter...