CodeIgniter from Scratch: (Day 10) The Calendar Library

ci_from_scratchHere is my next screencast on CodeIgniter.

In this tenth episode of the CodeIgniter From Scratch screencast series, we will be exploring the Calendar library. We are also going to utilize the database class and jQuery AJAX. I will show you how to build a simple and CSS-styled calendar page, which will have the ability to store and display content for each day.

Click Here to Watch

ss

CodeIgniter from Scratch: Day 9 – File Uploading and Image Manipulation

ci_from_scratch Nettuts+ published my next screencast on CodeIgniter.

In lesson nine of our CodeIgniter series, we’ll build a small image gallery that allows you to upload files, and automatically create thumbnails.

Click Here to Watch

ss

CodeIgniter from Scratch: Day 8 – AJAX

ci_from_scratch Today Nettuts+ published my screencast on CodeIgniter.

The CodeIgniter from Scratch series was unexpectedly, and significantly popular. Today, I’m pleased to announce that, with the help of one of my best authors, Burak, we’ll be continuing the series! Additionally, the most often requested topic is the subject for today’s screencast: combining CodeIgniter and jQuery.

Click Here to Watch

CodeIgniter and Doctrine from scratch.
Day 11 – Record Hooks

Codeigniter Doctrine In this tutorial we will be looking into Doctrine Record Hooks. This will allow us to trigger certain actions in our Models.

We are going to use this feature to simplify a few things in the existing code, and even gain some performance benefits.

Tags: , ,

Scheduling Tasks with Cron Jobs

previewCron Jobs are used for scheduling tasks to run on the server. They’re most commonly used for automating system maintenance or administration. However, they are also relevant to web application development. There are many situations when a web application may need certain tasks to run periodically. Today we are going to explore the fundamentals of Cron Jobs.

Read the full article at Nettuts

SQL For Beginners: Part 3 – Database Relationships

preview Today, we continue our journey into the world of SQL and relational database systems. In this part three of the series, we’ll learn how to work with multiple tables that have relationships with each other. First, we will go over some core concepts, and then will begin working with JOIN queries in SQL.

Read More at Nettuts.com

CodeIgniter and Doctrine from scratch.
Day 10 – Pagination

Codeigniter Doctrine Today we will be working on Pagination.

ci_doctrine_day10_15

Mastering cURL

preview cURL is a tool for transferring files and data with URL syntax, supporting many protocols including HTTP, FTP, TELNET and more. Initially, cURL was designed to be a command line tool. Lucky for us, the cURL library is also supported by PHP. In this article, we will look at some of the advanced features of cURL, and how we can use them in our PHP scripts.

Read the rest of the article at Nettuts

Tags: ,

SQL For Beginners Part 2

previewAnother article published on Nettuts

http://net.tutsplus.com/tutorials/other/sql-for-beginners-part-2/

It is important for every web developer to be familiar with database interactions. In part two of the series, we will continue exploring the SQL language and apply what we’ve learned on a MySQL database. We will learn about Indexes, Data Types and more complex query structures.

Read More

Tags: , ,

SQL for Beginners

previewAnother article published on Nettuts

http://net.tutsplus.com/tutorials/other/sql-for-beginners/

Most modern web applications today interact with databases, usually with a language called SQL. Lucky for us, this language is quite easy to learn. In this article, we are going to start with some basic SQL queries and use them to interact with a MySQL database.

Read More

Tags: , ,

CodeIgniter and Doctrine from scratch.
Day 9 – Templates & Data Hydrators

Codeigniter Doctrine In this article we are going to create Templates (with CodeIgniter) to keep our Views organized, and avoid repeating the same HTML code. Also we are going to learn about Doctrine Data Hydrators to see alternative ways to structure the data returned from the database.

ci_doctrine_day9_2

Tags: , ,

Top 15+ Best Practices for Writing Super Readable Code

preview My third article for Nettuts was just published:

“Code readability is a universal subject in the world of computer programming. It’s one of the first things we learn as developers. Readable and maintainable code is something to be proud of in a finished product. We can share it with others, contribute to other projects, and reuse code from applications we wrote months or even years ago.

This article will detail the fifteen most important best practices when writing readable code.”

Read More: http://net.tutsplus.com/tutorials/html-css-techniques/top-15-best-practices-for-writing-super-readable-code/

Tags: ,

CodeIgniter and Doctrine from scratch.
Day 8 – Hooks, Profiling & DQL

Codeigniter Doctrine In this article we are going to look at 3 main subjects: Hooks (with CodeIgniter), Doctrine Profiling and DQL. And we are going to see how we can use these to optimize some of our database interactions.

Tags: , ,

HTTP Headers for Dummies

preview_httpMy second article for Nettuts was just published:

http://net.tutsplus.com/tutorials/other/http-headers-for-dummies/

Whether you’re a programmer or not, you have seen it everywhere on the web. At this moment your browsers address bar shows something that starts with “http://”. Even your first Hello World script sent HTTP headers without you realizing it. In this article we are going to learn about the basics of HTTP headers and how we can use them in our web applications.

Read More

Tags: , ,

Top 20+ MySQL Best Practices

preview Nettuts+ just published my article!

http://net.tutsplus.com/tutorials/other/top-20-mysql-best-practices/

Database operations often tend to be the main bottleneck for most web applications today. It’s not only the DBA’s (database administrators) that have to worry about these performance issues. We as programmers need to do our part by structuring tables properly, writing optimized queries and better code. Here are some MySQL optimization techniques for programmers.

Read more

Tags:

CodeIgniter and Doctrine from scratch
Day 7 – Fixtures & Forum List

Codeigniter Doctrine Today we will continue building our Message Board project. First we will start building the Home Page, which will be a Forum List. Then we will learn about Doctrine Data Fixtures. This will help us create some test data to play with.

ci_doctrine_day7_4

Tags: , ,

CodeIgniter and Doctrine from scratch
Day 6 – Models with Relationships

Codeigniter Doctrine In this episode of the series, we will continue building our Message Board project. First we will have a quick overview of Doctrine Model Relationships. Then we will create Models for our Message Board, such as: Forums, Threads, Posts etc… with proper relationships. Finally we will learn how to add data into such Models.

Tags: , ,

CodeIgniter and Doctrine from scratch
Day 5 – Database CRUD

Codeigniter Doctrine CRUD stands for Create, Read, Update and Delete, the basic operations performed on the database. With regular CodeIgniter setups, most developers would use the Active Record Class for performing such operations. But we are not going to be doing that.

In this episode of the series, I will show you how to perform CRUD with Doctrine.

Tags: , ,

Top 10 Reasons Why You Should Use a PHP Framework

frameworks

PHP Frameworks have been receiving a lot of attention in the past few years from the web development community. What’s this hype all about?

If you look at PHP Job listings, you will often see “MVC Framework Experience” as one of their requirements. It is becoming one of those must-have skill sets for web developers.

There are pretty good reasons behind all of this. In this article we will explore why you, as a PHP programmer, should be using a PHP Framework.

Tags: ,

CodeIgniter and Doctrine from scratch
Day 4 – User Login

Codeigniter DoctrineIn this episode we are going to build a User Signup Form following these steps:

- We build a Login Form View and a Login Controller.
- Learn about some URL Helpers.
- Change the Default Controller.
- Implement User Authentication.
- Learn about Singleton Pattern and use it to improve our code design.
- Learn about the Sessions Library.
- Implement User Logout.

ci_doctrine_day4_1

Tags: , ,