This book provides alternative approach to build PHP application with Windows/Linux platform and MongoDB database. It describes how to work with PHP and MongoDB and illustrates their use with code examples. The following is highlight topics in book:
* Setup Development Environment
* Hello World – PHP and MongoDB
* MongoDB Authentication
* Manipulating Database
* CRUD Collection Operations
* Working with Identity, Date and Time
* Finding and Querying Data
* Working with Image and Blob Data
* Data Modeling
* Embedded Document
PHP is rapidly becoming the language of choice for dynamic Web development, in particular for e-commerce and on-line database systems. It is open source software and easy to install, and can be used with a variety of operating systems, including Microsoft Windows and UNIX.
This comprehensive manual covers the basic core of the language, with lots of practical examples of some of the more recent and useful features available in version 5.0. MySQL database creation and development is also covered, as it is the developer database most commonly used alongside PHP. It will be an invaluable book for professionals wanting to use PHP to develop their own dynamic web pages.
– Basic Language Constructs
– Manipulating Arrays and Strings
– Errors and Buffering
– Graphic Manipulation
– PDF Library Extension
– MySQL Database Management
– Classes and Objects Concepts
Features and Benefits:
Explains how to use PHP to its full extent – covering the latest features and functions of PHP version 5.0, including the use of object-oriented programming
Describes how to link a database to a web site, using the MySQL database management system
Shows how to connect PHP to other systems and provides many examples, so that you can create powerful and dynamic web pages and applications
Contains lots of illustrated, practical, real-world examples – including an e-commerce application created in PHP using many of the features described within the book
The scripts used in the examples are available for download from www.phpmysql-manual.com
In just a few years PHP has rapidly evolved from a small niche language to a powerful web development tool. Now in use on over 14 million Web sites, PHP is more stable and extensible than ever. However, there is no documentation on how to extend PHP; developers seeking to build PHP extensions and increase the performance and functionality of their PHP applications are left to word of mouth and muddling through PHP internals without systematic, helpful guidance. Although the basics of extension writing are fairly easy to grasp, the more advanced features have a tougher learning curve that can be very difficult to overcome. This is common at any moderate to high-traffic site, forcing the company hire talented, and high-priced, developers to increase performance. With Extending and Embedding PHP, Sara Golemon makes writing extensions within the grasp of every PHP developer, while guiding the reader through the tricky internals of PHP.
PHP and MySQL Phrasebook gives you the code you need to complete your web programming projects quickly and effectively in PHP, the leading scripting language for creating dynamic web pages.
Concise and Accessible
Easy to carry and easy to use–lets you ditch all those bulky books for one portable pocket guide
Flexible and Functional
Packed with more than 100 customizable code snippets–so you can readily code functional PHP and MySQL in just about any situation
In just a short time, you can learn how to use PHP, MySQL, and Apache together to create dynamic, interactive websites and applications using the three leading open-source web development technologies. Using a straightforward, step-by-step approach, each lesson in this book builds on the previous ones, enabling you to learn the essentials of PHP scripting, MySQL databases, and the Apache web server from the ground up.
Regardless of whether you run Linux, Windows, or Mac OS X, the enclosed CD includes a complete starter kit that lets you install all the software you need to set up a stable environment for learning, testing, and production.
Julie C. Meloni is a technical consultant who has been developing web-based applications since the Web first saw the light of day. She has authored numerous books and articles on web application development and HTML/CSS, and you can find translations of her work in 18 different languages.
Learn how to…
* Install, configure, and set up the PHP scripting language, the MySQL database system, and the Apache Web server
* Get these technologies to work together to create a dynamic, database-backed website
* Interact with MySQL using PHP
* Work with forms and files
* Create a web-based discussion forum or mailing list
* Add a storefront and shopping cart to your site
* Optimize your MySQL databases
* Fine-tune the Apache server’s performance
* Restrict access to your applications
* Set up a secure web server
A complete PHP, MySQL, and
Apache starter kit for Windows�, Linux�, or Mac� OS X.
PHP is an easy-to-use scripting language perfect for quickly creating the Web features you need. Once you know the basics of how the language works, wouldn’t it be great to have a collection of useful scripts that solve those tricky problems and add interesting functionality to your site? We thought so, too.
Instead of starting at "Hello World," Wicked Cool PHP assumes that you’re familiar with the language and jumps right into the good stuff. After you learn the FAQs of life—the most commonly wished for PHP scripts—you’ll work your way through smart configuration options and the art of forms, all the way through to complex database-backed scripts.
Wicked Cool PHP contains a wide variety of scripts to process credit cards, check the validity of email addresses, template HTML, and serve dynamic images and text. The 76 easily implemented scripts will also teach you how to:
* Send and receive email notifications
* Track your visitors’ behavior with cookies and sessions
* Override PHP’s default settings
* Manipulate dates, images, and text on the fly
* Harness SOAP and other web services
* Create an online poll, ecard delivery system, and blog
But it’s not all fun and games: Security is a big concern when programming any web application. So you’ll learn how to encrypt your confidential data, safeguard your passwords, and prevent common cross-site-scripting attacks. And you’ll learn how to customize all of the scripts to fit your own needs.
Dynamic web content doesn’t have to be difficult. Learn the secrets of the craft from two experienced PHP developers with Wicked Cool PHP.
Core PHP Programming, Third Edition is the authoritative guide to the new PHP 5 for experienced developers. Top PHP developer Leon Atkinson and PHP 5 contributor/Zend Engine 2 co-creator Zeev Suraski cover every facet of real-world PHP 5 development, from basic syntax to advanced object-oriented development — even design patterns! It’s all here: networking, data structures, regular expressions, math, configuration, graphics, MySQL/PostgreSQL support, XML, algorithms, debugging, optimization…and 650 downloadable code examples, with a Foreword by PHP 5 contributor and Zend Engine 2 co-creator Andi Gutmans!
“Ajax with PHP 5” is a detailed overviewof how to use PHP technologies to createinteractive, fault-tolerant, and responsiveweb applications.
This Short Cut first concentrates on thefundamentals of Ajax. Then it coversserving (or providing) content formattedin both XML and JSON.
Finally, we completely immerse ourselvesin the Ajax world and write twoPHP applications that use each markuplanguage on both the client and server.
We encourage you to use the classes andexamples given to produce your own richWeb 2.0-style applications.
Covers the latest major release of PHP, the most popular open source Web scripting language, in the friendly, easy-to-understand For Dummies style