Switch to the store?

PHP Application Development with NetBeans: Beginner's Guide

More Information
  • Develop PHP applications by leveraging NetBeans functionality
  • Set up your PHP development environment on various platforms, keeping intact the best features of the IDE
  • Learn PHP development in a fun and easy way with impressive real life PHP applications
  • Develop your applications faster through smart planning
  • Debug and test your PHP projects with clear instructions and easy tips
  • Document your source codes with zero effort using NetBeans
  • Enhance the power of PHP development with version controlling tool, Git
  • Acquire sharp usage of NetBeans and apply in fast paced development environments through mission-critical chapters

NetBeans has many features that greatly simplify PHP development, and with its several features and great flexibility, PHP developers can become overwhelmed by the IDE's options. This book provides step-by-step instructions that show you how to take control of the environment and make use of these features to make your PHP application development more efficient and productive than ever before.

"PHP Application Development with NetBeans: Beginner's Guide" leads you through the crucial parts of PHP programming and shows you how to use the features of NetBeans that will improve your PHP development experience, through clear and easy instructions.

The book gets you started with the development environment and tools, and takes you through working on practical projects with a clear focus. With each chapter being mission-critical, the book is a perfect companion to boost your PHP coding productivity and gain experience with even complex projects.

The book starts with setting up the PHP development environment and introduces exciting and useful IDE features. You'll learn how to build real life PHP projects such as Facebook like Status Updater and even User Registration, Login & Logout application. Also the book will introduce you with some must know development tools such as debugging & testing tools, source documenter tools, and versioning tools.

Working with the NetBeans IDE for PHP development has its own advantages, and this book reassures the purpose. This book is full of illustrations, screenshots, and clear instructions to take your PHP development to a new level and even shows you time-saving tricks and other productivity enhancements.

  • Clear step-by-step instructions with lots of practical examples
  • Develop cutting-edge PHP applications like never before with the help of this popular IDE, through quick and simple techniques
  • Experience exciting features of PHP application development with real-life PHP projects
Page Count 302
Course Length 9 hours 3 minutes
Date Of Publication 23 Aug 2012
Why NetBeans for PHP application development?
Downloading the NetBeans IDE
Time for action — downloading the NetBeans IDE
Installing NetBeans
Time for action — installing NetBeans step by step
Setting up your development environment in Windows
Time for action — installing XAMPP in Windows
Setting up your development environment in the Ubuntu desktop
Time for action — installing LAMP on the Ubuntu desktop
Setting up your development environment in Mac OS X
Time for action — installing MAMP in Mac OS X
Creating a NetBeans PHP project
Time for action — creating a NetBeans PHP project
Planning the project
Creating the status stream display list
Time for action — connecting with MySQL database server
Time for action — creating MySQL database and table
Time for action — creating a class, adding a constructor, and creating methods
Time for action — adding CSS support to the document
Time for action — adding jQuery support and custom JS library
Time for action — showing the status list
Hatching out the status poster using PHP-AJAX
Time for action — adding the status input box to the interface
Time for action — creating status poster using JQuery AJAX
Debugging the ancient art of programming
Debugging PHP source code with XDebug
Configuring XDebug
Time for action — installing XDebug on Windows
Time for action — installing XDebug on Ubuntu
Debugging the PHP source with NetBeans
Time for action — running a debugging session
Time for action — adding the expression to watch
Testing with PHPUnit
Time for action — installing PHPUnit via PEAR
Time for action — testing with PHPUnit
Time for action — using code coverage
Testing using the Selenium framework
Time for action — running tests with Selenium
Writing great documentation
PHPDoc—commenting standard for PHP
Documenting the source code
Time for action — documenting a PHP function or method
Time for action — documenting the PHP class and class variables
Time for action — using @todo tags
Documenting the API
Time for action — installing ApiGen and configuring it with NetBeans
Time for action — generating documentation using ApiGen
Version control system
Git the fast and distributed version control system
Understanding Git, the NetBeans way
Time for action — initializing a Git repository
Time for action — cloning a Git repository from GitHub via the SSH protocol
Staging files to a Git repository
Time for action — staging files to a Git repository
Committing changes to the repository
Time for action — committing changes to the local repository
Time for action — using diff from the IDE
Time for action — reverting changes of the working tree
Working with remote repositories
Time for action — fetching source code updates
Time for action — pulling updates from the remote repository
Time for action — pushing source code changes
Working with branches
Time for action — creating a branch
Time for action — checking out a branch
Time for action — merging into current branch
Good practices and workflow
Planning the project
Understanding the application architecture
Designing the database
Creating the data access layer
Time for action — creating the BaseDao class
Time for action — creating the User Dao class
Creating the Service layer
Time for action — creating the ValidatorService class
Time for action — creating the UserService class
Building the application
Time for action — creating the user application
Time for action — creating the user interface


M A Hossain Tonu

M A Hossain Tonu graduated in Computer Science and Engineering from the Dhaka University of Engineering and Technology (DUET) in Bangladesh. He has been a passionate developer since last six years, worked for leading software companies in the country like somewherein, improsys etc. and developed a series of web applications, services & solutions for the foreign clients as part of offshore software development & outsourcing. He is an agile software craftsman who loves to code, keeps himself update with cutting edge technologies and plays with PHP, Zend Framework, Ruby-on-Rails, JavaScript etc., loves to moderate the local PHP community phpXperts and conducting seminars, workshops at different tech premises. You can reach Tonu at mahtonu@gmail.com and his tech blog at http://mahtonu.wordpress.com