This blog is NOFOLLOW Free!
22 Jun

Diving into PHP – the series

These days  I found a great PHP tutorial series called “Diving into PHP”. It is made by Jeffrey Way from Theme Forest and it has 15 episodes till now. It starts from scrach and slowly builds up to advanced topics that is why it is great for PHP beginers and for advanced users.

Some resource links :

WAMP

MAMP

XAMPP

Enough with the chitchat, lets dive you in:

Downloading the Language

1st episode will teach you to install the support applications that will build the developing environment (Get the source files):

Variables

2nd episode shows you how to work with variables and using single/double quotes (Get the source files):

Passing Values From Page to Page

3rd eppisode will get you in how to pass variables from page to page using GET and POST (Get the source files):

Multiple Variables and the “foreach” Statement

4th episode continues on how to pass multiple variables from page to page you will have a review for “foreach” statement (Get the source files):

Refactoring, Arrays, and Functions – Oh My!

5th episode reviews arrays, refactoring, functions, and includes (Get the source files):

Includes

6th episode gets you into somehow more advanced topics like “include” statement (Get the source files):

Regular Expressions

7th episode will teach you how to use regular expressions with PHP. Over the course of about ten minutes, you’ll be learning about “preg_match()” and “preg_replace()” functions to validate a form. (Get the source files):

Strings

8th episode will explain to you how to use the strings. Single quotes, double quotes and a not so known concept called heredocs (Get the source files):

Detecting First-Time Visitors

Starting with 9th episode, you’ll going to learn some practical uses of PHP. In this episode, you’ll be shown how to detect whether or not a user has visited your site previously (Get the source files):

Getting Started With MySql

In 10th episodes you’ll be shown how easy it is to get up and running with MySql. We’ll also review the correct way to retrieve information from your new database (Get the source files):

SQL Insert Statements

Continuing on from Day 10, you’ll review SQL insert statements that will allow you to add new rows to your MySql database with PHP. Additionally, you’ll learn one of the ways to loop through an array and thats the foreach statement. (Get the source files)

Thats it for the moment. Stay tuned for the upcoming screen cast. Don’t forget that screen casts are originated from http://blog.themeforest.net/tutorials/diving-into-php-video-series/.

VN:F [1.8.1_1037]
Rating: 0.0/10 (0 votes cast)
VN:F [1.8.1_1037]
Rating: 0 (from 0 votes)
10 Dec

Regular expressions (the series)

For this post we have to say “Thank you!” to shaalool for creating this nice tutorials and shared them on YouTube (btw he really does a good job and for sure we will come with more of his php tutorials).

Now, about regular expressions. What they are? How do they help us? How to use them? This is what you’ll learn from this series of tutorials. Regular expressions can help us very much if we have to find different portions of string in a bigger context. If we have a pattern for those string than we can make a regular expression that we will use in our search.

Lets say you want to take all the names in a html table that has thousands of rows with names and push them into an array for later use. You would have to strip it and trim it and a lot of methods to take the html code out. If we would use a regular expression than all we have to find is only the pattern that we have to use.

All this will be explained in this video tutorials.

1st part (introducing regular expressions):

2nd part (introducing regular expressions):


3rd part (more about regular expressions):

4th part (more about regular expressions):


5th part (Replacing Text Using Regular Expressions):

VN:F [1.8.1_1037]
Rating: 0.0/10 (0 votes cast)
VN:F [1.8.1_1037]
Rating: 0 (from 0 votes)