PHP and PostgreSQL


Book Description

"Introduction. 1. Pt. I. Getting Started. 3. 1. Getting Started. 5. 2. Setting Up PHP. 15. 3. PHP Basics. 43. 4. Object-Oriented PHP. 121. Pt. II. Getting Started with PostgreSQL. 137. 5. Relational and Object-Relational Database Concepts. 139. 6. Installing PostgreSQL. 149. 7. Basic SQL. 177. 8. Advanced SQL. 225. 9. Embedded Languages. 307. 10. PostgreSQL Administration. 349. Pt. III. PHP/PostgreSQL Interaction. 379. 11. Writing Database-Driven Applications. 381. 12. Working with BLOBs. 405. 13. Working with Persistent Database Connections. 423. Pt. IV. Advanced Technologies. 433. 14. Managing Regular Expressions. 435. 15. Session Management. 463. 16. Working with Dynamic Documents, Images, and Movies. 475. 17. Working with Dates and Time. 521. 18. Tuning. 551. 19. XML. 573. 20. Security Issues. 585. Pt. V. Practical Examples. 597. 21. Web Applications. 599. 22. Extending PostgreSQL. 669. 23. High-Availability Systems. 695. Pt. VI. Migration. 709. 24. Migration. 711. . Index. 721.




Beginning PHP and PostgreSQL 8


Book Description

* Offering a native Windows release, PostgreSQL 8.0 is poised to garner considerable market share in the open source arena. This book shows readers how to harness this popular open source database with PHP, the world’s most popular web scripting language. * Essentially three books in one, PostgreSQL 8.0 exposes readers to detailed introductions of PHP and PostgreSQL. Readers gain extensive knowledge about these two popular open source technologies to create powerful websites. * Authored by W. Jason Gilmore, author of the best selling Beginning PHP 5 and MySQL: From Novice to Professional, and noted PostgreSQL developer and community liaison Robert Treat.




PHP and PostgreSQL Programming By Example


Book Description

This book helps you to get started how to build PHP programs which access PostgreSQL server. The following is highlight topics * Setting up Development Environment * Hello World - PHP and PostgreSQL * CRUD Operations * Working with Image and Blob Data * Transaction * Stored Procedures




Beginning PHP and PostgreSQL E-Commerce


Book Description

The first book to show readers how to create a complete e-commerce driven website using two of the most popular open source technologies, PHP and PostgreSQL Adapted from the strong selling Beginning PHP 5 and MySQL E-Commerce, this book is based on a proven and popular instructional model. PostgreSQL, long the second most popular open source database in the world, has seen a significant resurgence in interest throughout 2005 due to software enhancements and considerable capital injections. It stands to reason already strong interest in this database will continue to grow for the foreseeable future.




Beginning PHP and MySQL


Book Description

Beginning PHP and MySQL: From Novice to Professional, Third Edition offers a comprehensive introduction to two of the most prominent open-source technologies on the planet: the PHP scripting language and the MySQL database server. Updated to introduce the features found in MySQL's most significant release to date, readers will learn how to take advantage of the features of both technologies to build powerful, manageable, and stable web applications. Essentially three books in one, readers will not only profit from extensive introductions to the core features of each technology, but also learn how to effectively integrate the two in order to build robust data-driven applications. Packed with practical examples and insight into the real-world challenges faced by developers based on author W. Jason Gilmore's seven years of expertise working with these technologies, readers will repeatedly return to this book as both a valuable instructional tool and reference guide. What you’ll learn The PHP language How to back your web site with MySQL Templating so that you can apply a consistent design across all pages on your site How to authenticate your web site users How to use cookies to maintain information (such as items in a shopping cart) while a user is browsing your site Who this book is for This book is written for developers seeking to take advantage of the PHP language and MySQL database to create powerful web applications.




PHP and PostgreSQL


Book Description




Beginning Databases with PostgreSQL


Book Description

*The most updated PostgreSQL book on the market, covering version 8.0 *Highlights the most popular PostgreSQL APIs, including C, Perl, PHP, and Java *This is two books in one; it simultaneously covers key relational database design principles, while teaching PostgreSQL




PostgreSQL Development Essentials


Book Description

Develop programmatic functions to create powerful database applications About This Book Write complex SQL queries and design a robust database design that fits your application's need Improve database performance by indexing, partitioning tables, and query optimizing A comprehensive guide covering the advanced PostgreSQL concepts without any hassle Who This Book Is For If you are a PostgreSQL developer with a basic knowledge of PostgreSQL development and you're want deeper knowledge to develop applications, then this book is for you. As this book does not cover basic installation and configurations, you should have PostgreSQL installed on your machine as a prerequisite. What You Will Learn Write more complex queries with advanced SQL queries Design a database that works with the application exactly the way you want Make the database work in extreme conditions by tuning, optimizing, partitioning, and indexing Develop applications in other programming languages such as Java and PHP Use extensions to get extra benefits in terms of functionality and performance Build an application that does not get locked by data manipulation Explore in-built db functions and data type conversions In Detail PostgreSQL is the most advanced open source database in the world. It is easy to install, configure, and maintain by following the documentation; however, it's difficult to develop applications using programming languages and design databases accordingly. This book is what you need to get the most out of PostgreSQL You will begin with advanced SQL topics such as views, materialized views, and cursors, and learn about performing data type conversions. You will then perform trigger operations and use trigger functions in PostgreSQL. Next we walk through data modeling, normalization concepts, and the effect of transactions and locking on the database. The next half of the book covers the types of indexes, constrains, and the concepts of table partitioning, as well as the different mechanisms and approaches available to write efficient queries or code. Later, we explore PostgreSQL Extensions and Large Object Support in PostgreSQL. Finally, you will perform database operations in PostgreSQL using PHP and Java. By the end of this book, you will have mastered all the aspects of PostgreSQL development. You will be able to build efficient enterprise-grade applications with PostgreSQL by making use of these concepts Style and approach Every chapter follows a step by step approach that first explains the concept , then shows you how to execute it practically so that you can implement them in your application.




PostgreSQL Developer's Handbook


Book Description

"PostgreSQL Developer's Handbook" provides a complete overview of the PostgreSQL database server and extensive coverage of its core features, including object orientation, PL/SQL, and the most important programming interfaces. The authors introduce the reader to the language and syntax of PostgreSQL and then move quickly into sophisticated programming topics.




A Heuristic Database Programming with PHP and PostgreSQL


Book Description

PostgreSQL was designed to run on UNIX-like platforms. However, PostgreSQL was then also designed to be portable so that it could run on various platforms such as Mac OS X, Solaris, and Windows. PostgreSQL is free and open source software. Its source code is available under PostgreSQL license, a liberal open source license. You are free to use, modify and distribute PostgreSQL in any form. PostgreSQL requires very minimum maintained efforts because of its stability. Therefore, if you develop applications based on PostgreSQL, the total cost of ownership is low in comparison with other database management systems. In Chapter 2, you will learn: Connecting to a PostgreSQL database – shows you how to setup a simple PHP application structure and connect to a PostgreSQL database; Creating new PostgreSQL database tables – walks you through the steps of creating database tables in PostgreSQL using PHP; Inserting data into PostgresQL tables – guides you how to use insert data into a table using PHP PDO; Updating data in the table – provides you with the steps of updating data in the database tables; Querying data from a table – shows you various ways to query data in the PostgreSQL database from PHP; Performing transactions – explains the transaction concept and shows you how to perform transactions in PHP; Working with the binary large objects (BLOB) – shows you how to insert, select, and delete the large objects in the PostgreSQL using PHP; Calling PostgreSQL stored procedures – explains you the steps of calling PostgreSQL stored procedures from PHP; Deleting data in a PostgreSQL table using PHP PDO – teaches you how to delete data from the PostgreSQL table in the PHP application using PDO. In Chapter 3, you will learn managing table structure and views including postgresql data types, postgresql create table, postgresql select into statement, postgresql create table as, using postgresql serial to create auto-increment column, identity column, alter table, drop table, truncate table, check constraint, not-null constraint, foreign key, primary key, unique constraint, managing postgresql views, creating updatable views, materialized views, creating updatable views using the with check option clause, and recursive view. In Chapter 4, you will learn statements, operators, and clauses including select, order by, select distinct, limit, fetch, in, between, postgresql like, is null, alias, joins, inner join, postgresql left join, self-join, full outer join, cross join, natural join, group by, having, intersect operator, except operator, grouping sets, cube, and rollup. In Chapter 5, you will learn postgresql trigger, aggregate, and string functions including creating the first trigger in postgresql, managing postgresql trigger, aggregate functions, avg function, max function, min function, sum function, postgresql concat function, ascii function, trim function, length function, substring function, regexp_matches function, regexp_replace function, replace function, to_number function, and to_char function.