A web site is a set of pages on a specific subject. It normally has sub-pages, and normally valuable information about the topic it covers. What if a web site is dedicated to a property? Could you create a web site focused on a specific property, and also named after the property? (something like 22birtonsthamiltonhill.com)? How would you create such a think based on free software? (At the end of this article, you should be able to create a complete template system and a site containing the full list of sites, for property sites.
Some time ago I was required to adapt a bespoke website application (which I had originally written) so it not only supported multiple languages but also multiple character sets. The website, MakingContact.org, is a on-line community for families with disabled children run by the charity Contact a Family. It required "support" for four languages in addition the English it was currently in: Somali, Arabic, Farsi and Simplified Chinese. Yes, I know the latter is not actually a language but for these purposes the cap fitted.
I decided to do it using Smarty, the PHP-based templating engine. Whilst it was possible that a CMS or similar could do the job now, at the time I could find none which supported multiple character sets in the way I required. I've been meaning to write the process down for some time so here's how I did it.
Learning PHP Data Objects by Dennis Popel (Packt Publishing, 2007) introduces the PHP5 extension PDO. If you've ever worked on a LAMP server, you must know how tedious it is to go through the results of an SQL query, and to manage the connection--even worse, if you happen to change database, your work is pretty much lost: PostgreSQL, MySQL and SQLite don't have the same driver nor functions! Not so with PDO.
Get your classes and objects ready: PDO will make using a database under PHP5 a snap.
Welcome to an introduction for the beginner to the basic manipulation of the MySQL database with free software. The purpose of this article is to show how universally straightforward it is to get started with installing and applying a high-grade enterprise ready database like MySQL, and to learn how to manipulate it via numerous free software approaches.
The big unstoppable trendy Web 2.0 train is at full steam, allegedly knocking downing the walls of conventional website buildings. Sure, the technologies used may date back to the beginning of the century (wow that sounds like a long time ago!). However, thanks to the publicity and dare I say hype, we are now sitting at the beginning of the second internet bubble.
Good security is the basis of any viable website. With the internet being the most public of places, broken systems cost—money, reputations and possibly customer identities are the currency. Pro PHP Security, published by Apress and written by Chris Snyder and Michael Southwell, is a detailed and authoritive account of the security details that effect a successful deployment of a PHP website. The book ranges from the almost theoretical to the highly practical such as SQL injection attack hardening and validating user input.
Do you like gallery tools such as Flickr, but want to control your photos, or get rid of any of their limits? Now you can have your own custom gallery using PHP, a script called Picy, and 5 minutes of your time!