Web Application Development with PHP in Netbeans 6.5 ● Angad Singh Campus Ambassador Tech Lead
2 Agenda NetBeans Overview PHP Support Overview Editing Debugging Deployment MySQL Integration New Features Demo
3 Rich Client Platform CommunityIDE NetBeans Overview NetBeans is:
4 Java ME Java SE Java EE (J2EE 1.3, 1.4, Java EE 5) Dynamic Languages/Scripting: > JavaScript > Ruby, JRuby, Ruby on Rails > Groovy, Groovy on Grails > Python/Jython C/C++ NetBeans Overview IDE - The Only IDE You Need!
5 Works right out of the box End-2-end application development and Open Source NetBeans Overview IDE - The Only IDE You Need! 100% Java Supported >
6 Over 20 million IDE downloads and growing Over 10 million of those downloads in the last two years Over 4 million netbeans.org page views per month Over 500K mailing list subscribers Over 130 partner endorsements NetBeans Overview Community – Gaining Momentum
7 NetBeans PHP Support Irresistibly great! Seperate bundle available with HTML, CSS, Javascript and PHP! PHP Project Support PHP editor dynamically integrated with HTML, JS and CSS editors. PHP + Javascript debugger Your favorite Netbeans source code editing features for PHP ! Remote and local project development (FTP deployment/upload script) Code Navigation MySQL integration Supports Command-line PHP Version Control Systems supported: CVS, Subversion, Mercurial Features of the Future: Profiler, Zend/CakePHP framework support, Advanced Refactoring
8 NetBeans PHP Editor Syntax Highlighting Go To Declaration Navigator Code Folding Smart Indent Formatting Bracket Completion Instant Rename Code Completion – Snippets, Context-Sensitive Proposals, Abbreviations Parameter Hints Error Messages And It just keeps getting better with every new release!
9 NetBeans PHP Debugger Breakpoints Call Stack Local variables Watches Bubble watches IDE acts as a Dbgp Client Needs Xdebug setup on the web server Works on: OpenSolaris Web Stack OpenSolaris CoolStack Windows with XAMPP, LAMP Must use Xdebug or higher with Netbeans 6.5 or higher with PHP 5.2.x Configure your environment: OR.. Use the server-only OpenSolaris Web Stack
10 Remote Deployment Projects can be setup to be hosted and run remotely Deploy via FTP Remote MySQL database support Upload source files to remote server Run Configuration > Remote Web Site Seamless synchronization > Every change (create, update, rename, delete) is propagated instantly > Progress bar shown if it takes more than a second Supports local as well as remote synchronization Improved in Netbeans 6.7
11 MySQL Integration Connect to a local or remote MySQL database server Create/Delete a MySQL database Insert Code command - automatically create code to execute an SQL query In-place table editing Auto-generating Database connection code
12 New Features Path Mapping in PHP debugger Output window improvements PHPUnit support PHPUnit Code Coverage Code Coverage Selenium Plugin PHP interpreter improvements Drupal plugin - > Drupal files support > New Drupal module wizard > New Drupal theme wizard > Palette components for common Drupal hooks
13 Demo!
14 Get Involved Download NetBeans! Join the Student Community! Join the NetBeans Community Next Steps
15 Resources Netbeans Product Site: > Download: previews, current & past releases of IDE, plugins > Learning: tutorials, technical articles, flash demos > Community: latest news, forums, events, mailing lists Netbeans Wiki: > Open-source documentation site for Netbeans Visual Web FAQ > Planet Netbeans: > Aggregate for all Netbeans-related blogs Source Code: > Mercurial source code access for Netbeans platform + IDE
16 Fast Track Your Career with Sun! Get FREE Web-based training on Java TM, Solaris TM & more! > Visit: > Course registration code for ABC University is XYZ Increase earnings potential with a Sun Certification! > Sun Certified Associate/Programmer for the Java 2 Platform SE > Sun Certified Web Component Developer for Java EE > Sun Certified Mobile Application Developer for Java ME > Sun Certified System/Network Admin for Solaris Operating System Free practice exams Discounted exams fees for academic developers – only US$60 (US$40 in APAC and Latin America)
THANK YOU! Web Application Development with PHP in Netbeans 6.5 ● Angad Singh ● Campus Ambassador Tech Lead ●