NYCPHP Meetup

NYPHP.org

[nycphp-talk] Javascript IDE for PHP developers

Baer, Jon jbaer at VillageVoice.com
Mon Sep 11 14:42:41 EDT 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I find it much easier to get attached to one of the 2.x frameworks
(prototype/scriptac, jquery/interface) and write out tidbits of code
into the templates of Zend Studio .. Ie:

For example this whole tidbit would be script[tab]ajaxreq[tab] + then
tab across and fill in what's needed.  Pretty handy.

<script type="text/javascript" charset="utf-8">
  var opts = {
    method: 'post',
    postBody: 'var=1&foo=2',
    onSuccess: function(resp) {
    // success
     
    },
    on404: function (resp) {
    // 404
      
    },
    onFailure: function (resp) {
    // failed
       
    }
  }
  new Ajax.Request('/foo/bar', opts);
</script>

Also ...

$('#Some_people_do_not_need_to_remember_if_it_was_getElementbyID_or_Gete
lementByid_because_they_have_this_amazing_dollar_function_now').hide();

:-)

- - Jon

- -----Original Message-----
From: talk-bounces at lists.nyphp.org [mailto:talk-bounces at lists.nyphp.org]
On Behalf Of cliff
Sent: Monday, September 11, 2006 10:47 AM
To: talk at lists.nyphp.org
Subject: [nycphp-talk] Javascript IDE for PHP developers

Unfortunately, the world is not all PHP. And for those of us that don't
have the luxury of a client-side development team, we must occasionally
program in Javascript. I don't know about you, but since I don't do it
that often, I find it painful to say the least. Was it getElementbyID or
GetelementByid?

Any thoughs on a good JS IDE equivalent to Zend Studio.

I just discovered http://www.aptana.com/ and am learning the Mozilla
Venkman debugger. Other ideas?

Cliff
_______________________________________________
New York PHP Community Talk Mailing List
http://lists.nyphp.org/mailman/listinfo/talk

NYPHPCon 2006 Presentations Online
http://www.nyphpcon.com

Show Your Participation in New York PHP
http://www.nyphp.org/show_participation.php
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (MingW32)

iD8DBQFFBa4h99e5DI8C/rsRAkcQAKCfxCUNxflAFEaB0GjRLqotVGEpoACguaqF
6r3DuIC3WgB4Is47uAXPy/M=
=fqaP
-----END PGP SIGNATURE-----



More information about the talk mailing list