PHP Tutorials / Lessons

Php tutorials / Learning Php

If you want to learn the premiere functions of a php, simple follow this short tutorial and everything should be clear. The prime goal of this tutorial is to teach you the reader the basics so that you can
• Customize the scripts you download, so that they fit your needs
• Begin to understand the workings of php, so that you can design your own model of the php projects
• Give you a base of php, so that your are deemed more valuable with your future employers

First you need to know what php stands for which is translated to (php hypertext preprocessor)

What is PHP?

It’s an html embedded scripting language mainly designed for producing web pages, created by Rasmus Lerdorf in 1995. The purpose of the language is to allow web developers to write web pages quickly with. In this PHP lessons you will see it.
This might be a good definition. Although it does contain a lot of computer talk, instead of these terms, just think of php as a powerful behind the scenes scripting tool that your web visitors won’t ever see.
When people visit your php webpage, your web server processes the code. It then sees what it needs to show such as content text and pictures and hides the computer language stuff such as the math calculations and file operation, then translates this into html style. Once the translation is finished it then sends the webpage to your visitor’s web browser.


( Read more )

Innodb Performance Optimization Basics

In discussing with people I like to ask them a basic question — if you have a server with 16GB of RAM which will be dedicated for MySQL with large Innodb database using typical Web workload what settings you would adjust and interestingly enough most people fail to come up with anything reasonable. So I decided to publish the answer I would like to hear extending it with basics of Hardware OS And Application optimization.
I call this Innodb Performance Optimization Basics so these are general recommendation which work well for many applications, though the optimal settings of course depend on the workload.


( Read more )