Presentation is loading. Please wait.

Presentation is loading. Please wait.

Www.nyphp.com 8/23/2005© 2005 New York PHP1 Tools for Writing Better PHP Code Remote Development with Eclipse, Windows and WebDAV Hans Zaunere President.

Similar presentations


Presentation on theme: "Www.nyphp.com 8/23/2005© 2005 New York PHP1 Tools for Writing Better PHP Code Remote Development with Eclipse, Windows and WebDAV Hans Zaunere President."— Presentation transcript:

1 8/23/2005© 2005 New York PHP1 Tools for Writing Better PHP Code Remote Development with Eclipse, Windows and WebDAV Hans Zaunere President and Founder Presented to New York PHP August 23, 2005

2 8/23/2005© 2005 New York PHP2 Overview Why Work Remotely? Options for Remote Development Eclipse and PHP WebDAV and Windows Eclipse/WebDAV Development Stack – Demo The Future Looks Bright Slide The Nice-to-Haves Slide Questions?

3 8/23/2005© 2005 New York PHP3 Why Work Remotely? PHP application dependencies –Applications expect a specific environment –Customers expect development on their systems –Extensions, Apache, and of course databases The Windows vs. UNIX vs. OS X question –Different I/O techniques –Different file system structure Firewalls, VPNs and vi – Oh My! –AMP applications are server based –Direct access to other servers, like databases, is limited –vi just doesn’t cut it anymore Attempting to recreate environments locally doesn’t scale –Enterprise development requires tedious setup of complex environments –It just doesn’t work

4 8/23/2005© 2005 New York PHP4 Options for Remote Development Old School –SSH into development server –Remote desktop – yeah, right… Middle School –Using text editors with SFTP/FTP functionality –Shout-out to UltraEdit Tedious for large diverse projects It’s a text editor – not a development stack Varsity Development –Wouldn’t it be nice if there was some type of integrated development environment? –Oh right – an IDE Source file organization and tracking Avoids drop n’ swap development Debugging – Wow!

5 8/23/2005© 2005 New York PHP5 Eclipse –Very flexible IDE –Unlimited GUI layouts –Unlimited plug-ins –Active and maintained –Thanks Java – we’ll take that or, converting a Java IDE to a PHP IDE –PHPeclipse – Actively developed – best known – free – what I use –TruStudio – Commercial - some unique features but not enough to purchase - yet –UPHPU Eclipse – Proves the flexibility of Eclipse Looks promising – needs time Eclipse and PHP “You don't know the power of the Dark Side… Join me and together we can rule the galaxy…”

6 8/23/2005© 2005 New York PHP6 WebDAV –Standards based file access –Well supported in Apache 2 Provide file system access through HTTP/S – ubiquitous and secure Leverage Apache’s user control, aliasing, logging, and mod_* No need for shell/system accounts – no UNIX permission problems HTTP and URLs are a logical way to access data Built-in properties and locking provide flexibility Windows –It’s a good GUI – I don’t want to hear it –Windows XP can mount WebDAV locations, but… –Application support is limited –Discover WebDrive… WebDAV and Windows Document Authoring and Versioning? Distributed Authoring and Versioning? DAV Ain’t vi?

7 8/23/2005© 2005 New York PHP7 WebDrive – –Mounts remote locations as a drive letter –Supports FTP, SFTP, FrontPage and WebDAV –Caches files and directories to address network latency –Commercial product, but inexpensive – support good software Free implementation – NetDrive –Doesn’t support SFTP –Doesn’t appear to be actively maintained –http://support.novell.com/servlet/filedownload/uns/pub/ndrv41862.exe/http://support.novell.com/servlet/filedownload/uns/pub/ndrv41862.exe/ –http://www.acs.uwosh.edu/novell/netdrive.htm WebDAV and Windows – and WebDrive

8 8/23/2005© 2005 New York PHP8 Eclipse/WebDAV Development Stack Demo Outline Connecting the remote drives Firing up Eclipse Creating a new project Time to get to work Real-world development –Sprinkle in Subversion –Checkout to SFTP remote mount –Move files between projects, SVN, and WebDAV –Command line development also easy Distributed development with version control – without the mess…

9 8/23/2005© 2005 New York PHP9 The Future Looks Bright Slide Eclipse Plug-ins and Extensibility –Large library of useful plug-ins – new ones everyday –The all-under-one-roof Department Web Tools: UML: –Native FTP and WebDAV –Rich Client Platform: Beyond WebDAV –Single Apache 2 serves Subversion and WebDAV –WebDrive provides transparent access to SFTP accounts Putting it all together –Large distributed development teams No permission and system administration headaches –Secure HTTPS reduces password administration by leveraging client certificates –Development visibility Give customers source code browsing simply with a web browser

10 8/23/2005© 2005 New York PHP10 The Nice-to-Haves Slide Eclipse’s editor –Good, but not a tried and true text editor –Embed UltraEdit into Eclipse (or an editor of your choice) –Group open files Eclipse projects –Many projects can get confusing –Removing directory from project, but not file system –http://www.eclipse.org/eclipse/development/inflexible-projects-problem.htmlhttp://www.eclipse.org/eclipse/development/inflexible-projects-problem.html –SVN checkout to existing project WebDrive –Potentially a large number of drives floating around –Ability to null mount (mount as directory, instead of drive) –Offline mode – cache files locally, then when online, synchronize There are some features lacking –The developer community welcomes suggestions –Active and vibrant software (both commercial and community based) –I’ve submitted a couple already – submit yours today WebDAV –Mature, but still a developing standard

11 8/23/2005© 2005 New York PHP11 Questions?


Download ppt "Www.nyphp.com 8/23/2005© 2005 New York PHP1 Tools for Writing Better PHP Code Remote Development with Eclipse, Windows and WebDAV Hans Zaunere President."

Similar presentations


Ads by Google