News Feed
Sections




News Archive
feed this:

Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Dan Barrett:
Setting Up a LAMP Stack on Debian - My Way
January 06, 2014 @ 11:58:46

Dan Barrett has written up an excellent guide to setting up a LAMP stack on Debian from the ground up. It includes all the commands, configuration changes and screenshots of the interface you'll need.

Setting up a test environment can be a tricky thing when you compile PHP from scratch. As others have mentioned in the past, installations from Aptitude (and the like) lag behind which can quickly put your test environment out of date. Pulling inspiration from Juan Treminio and Brandon Savage, who both wrote excellent articles on setting up PHP from scratch. I like to keep my options open when developing which left both of those articles lacking a few features and extensions that I'd like to have bundled with PHP.

He guides you through a (detailed) process to get the following set up and running:

  • Debian itself (GUI installer)
  • Network configuration
  • Installation of Apache
  • both PostgreSQL and MySQL
  • Other software including ImageMagick, GraphicsMagick
  • PHP 5.5 (with several extensions of its own)
0 comments voice your opinion now!
lamp stack debian mysql postgresql configure install tutorial

Link: http://www.yesdevnull.net/2014/01/setting-up-a-lamp-stack-on-debian-my-way/

ZetCode.com:
PostgreSQL PHP Tutorial
May 07, 2012 @ 11:14:40

On the ZetCode.com site there's a five part tutorial posted about getting your PHP application up and running on a PostgreSQL database (updated on the 4th).

This is a PHP tutorial for the PostgreSQL database. It covers the basics of PostgreSQL programming with PHP. The examples were created and tested on Linux. [...] PostgreSQL is a powerful, open source object-relational database system. It is a multi-user, multi-threaded database management system. It runs on multiple platforms including Linux, FreeBSD, Solaris, Microsoft Windows and Mac OS X. PostgreSQL is developed by the PostgreSQL Global Development Group.

The chapters guide you through every step you'll need:

0 comments voice your opinion now!
postgresql tutorial introduction read images metadata transactions


PHPBuilder.com:
Use PDO to Access Just About Any Database from PHP
April 25, 2011 @ 08:17:51

New on PHPBuilder.com there's a tutorial from Leidago Noabeb about using the PDO functionality that comes installed on many PHP platforms out there to access just about any database you might need to work work. This includes technology like MySQL, DB2, SQLite and PostgreSQL.

PHP Data Objects, or "PDO" as it is commonly known, is a lightweight database abstraction layer that is arguably the best, at least in terms of speed. A great deal of this speed is owing to the fact that the PDO extension was compiled with C/C++. The extension became available in PHP5, and as with any other database abstraction layer, its aim is to provide a uniform interface to access a variety of databases. This is also a way for developers to create portable code for a variety of platforms.

The tutorial shows you how to find the enabled PDO connection types for your installation (and where to go if you have access to turn more on or off). They show an example connection - in this case, to a MySQL database - and how to run a query or two using this new resource.

0 comments voice your opinion now!
pdo access database tutorial mysql sqlite postgresql


PHPBuilder.com:
Build an MVC Framework with PHP
December 18, 2009 @ 07:50:52

On PHPBuilder.com today there's a new tutorial that walks you through the process of creating a simple MVC framework in PHP based on Smarty, PostgreSQL and the PEAR XML_Serializer package.

PHP now enables you to build robust, manageable, and beautiful enterprise web applications. The best way to do that is to divide the application into three components: model, view, and controller. In other words, you need to separate the presentation, the database, and the business logic from each other. The most common approach for achieving this design goal is to adhere to a strict Model-View-Controller (MVC) framework.

He uses the example of creating an application (a feed reader) to show how the parts of the MVC will fit together as a whole. You won't find any code examples in the article, just an explanation of how everything works together. You can, however, dowload the source and follow along.

0 comments voice your opinion now!
mvc framework tutorial smarty postgresql pear


Mohammed Berdai's Blog:
How To Install PostgreSQL And phpPgAdmin Support In XAMPP
October 03, 2008 @ 10:29:32

Mohammed Berdai has a quick tutorial posted about getting a full installation of PostgreSQL and phpPgAdmin up and working in an XAMPP environment.

XAMPP is an easy to install Apache distribution containing MySQL, PHP and Perl, plus many additional modules. The whole package is well integrated and can save a lot of time and hassle for the inexperienced web developer. [...] phpPgAdmin is a web-based administration tool for PostgreSQL, exactly as phpMyAdmin for MySQL.

It's a simple three step process (with a few sub-steps inside each) to get the system up and running - basically: install XAMPP, install PostgreSQL and install phpPgAdmin.

0 comments voice your opinion now!
xampp postgresql phppgadmin install tutorial


Wez Furlong's Blog:
Background/batch/workflow processing with PDOPGSQL
October 27, 2006 @ 08:42:00

Wez Furlong wants a bit more out of his PHP script, naemly the ability to be able to process things in the background without tying up or immediately using the script that's running.

In my recent talk on sending mail from php I mention that you want to avoid sending mail directly from a web page. A couple of people have asked me how to implement that, and one of the suggestions I have is to queue your mail in a database table and have some other process act on that table.

He gives a solution that's a bit more optimized for this solution than just polling the same information over and over - using PDO and LISTEN/NOTIFY processing along with transactions to make the CLI script only grab information when there's something new.

0 comments voice your opinion now!
pdo pgsql postgresql mail cli background batch processing pdo pgsql postgresql mail cli background batch processing


Laura Thomson's Blog:
Jobs @ OmniTI
June 27, 2006 @ 05:44:01

OmniTI, the company that employs such PHP notables as Wez Furlong, Laura Thomson, and George Schlossnagle, is hiring according to this new post from Laura.

We are currently in need of four people:
  • A junior PHP dev
  • A junior-ish web designer (Photoshop, HTML, CSS, Javascript + ideally some coding)
  • An Oracle DBA
  • A PostgreSQL DBA

The job ads will be up on our website shortly, but if you are eager to act before then, please email me your resume at jobs@omniti.com.

You can find out more about OmniTI as a company from their site and more about previous jobs and how they hire from these two links.

1 comment voice your opinion now!
jobs omniti employment junior developer web designer oracle dba postgresql jobs omniti employment junior developer web designer oracle dba postgresql


DotGeek.org:
Free Hosting Goes Bingo!
May 01, 2006 @ 13:22:12

David Costa has submitted a new item today about the start of a new contest to win one of the DotGeek free PHP5 web hosting offered by the - one of 50 hosting slots that are open each month.

Since 2004 Dotgeek.org has provided a free hosting solution for PHP developers. It is currently the only hosting service offering a free plan (no catch, no need to upgrade, there is no upgrade) with CPANEL, PHP 5, the possiblity to host your own domain and the usual suspects (MySQL, Sqlite, PostgreSQL).

However, to face the great volume of requests Dotgeek has for new hosting signups, we've just started a monthly contest, the PHP Hosting Bingo. Every month you can win one of the 50 hosting plan openings by signing up for a "ticket". Once again, there are no ads, no upgrade plans and simply no plan, and to participate to the PHP 5 Hosting Bingo visit http://dotgeek.org.

The next drawing will be On May 27th (2006) and will be announced both live on IRC (in #dotgeek on the Freenode network) and on their site. Head over to the signup page for your chance!

412 comments voice your opinion now!
free hosting php5 cpanel mysql postgresql sqlite free hosting php5 cpanel mysql postgresql sqlite


Justin Silverton's Blog:
Using PHP and Postgres
March 06, 2006 @ 07:43:10

Justin Silverton has posted a quick introductory tutorial on how to use the PostgreSQL database from inside PHP.

This is a simple guide on how to start connecting to a postgres database with php. I also assume that you already have a database setup with a table/tables.

He shows how to make a connection to a database, perform a simple query, and provides the names of some other "helpful functions" from the PostgreSQL part of the manual along with what they do.

2 comments voice your opinion now!
postgresql introduction make connection query postgresql introduction make connection query


Utah PHP Users Group:
March 2006 Meeting - 16th @ 7pm
February 17, 2006 @ 06:49:03

The Utah PHP Users Group has posted a new announcement already about their March meeting to be held on the 16th.

This time, the topic is still a bit up in the air and they request that those attening vote on one of two - either "Ajax tools in Eclipse" or "postgresql + stored procedures" - but from Ray Hunter. The meeting will be in the usual place, the Linux Networx offices, and will get going around 7pm.

For more details on the group and this meeting, check out their website.

0 comments voice your opinion now!
user group utah eclipse ajax postgresql stored procedures user group utah eclipse ajax postgresql stored procedures



Community Events





Don't see your event here?
Let us know!


tool conference series interview language security library symfony introduction release community podcast list composer artisanfiles voicesoftheelephpant opinion version laravel framework

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework