PHP Tutorial: Developing a Login – Part 1 - Introduction




Developing a login in PHP isn’t rocket science, but there are a few little standards I want to lay down for this tutorial before I continue.

Over the years I’ve met a lot of developers that write their SQL queries tangled within their pages - a practise that I believe must be avoided, since generally it leads to terrible un-maintainable/un-flexible code.

It makes more sense separating our code into logical blocks - a concept referred to as "decoupling".

This defines one of my aims in this tutorial to write the script to function independently regardless of the data engine being used. It must be a breeze switching between mysql, Oracle, SQL, postgresql and whatever’s being used.

Another subject I’ll be touching briefly is “localization”. The brave Zulu guy next door mustn’t need to go through every single piece of code in order to display the output in his own language.

Data structure >>



No Entries Found

Post comment

Name *
Email
Title
Body *
Security code
*
* Required fields