Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

CodeForest.com:
Creating simple tasks app with Backbone.js and Slim micro framework (part 1)
Jun 25, 2013 @ 16:52:44

New on CodeForest.com today, Luka Peharda has posted the first part of a series that combines the Slim microframework with backbone.js to make a simple tasks (to-do) application.

The app in this tutorial will be called “Tasks”. I know, right? Super creative. This first article will give an introduction to the technologies and the idea of the series. Also, we’ll cover project structure and entire PHP side of the story. In second article we’ll cover Backbone.js side of the story and create simple tasks application which we’ll refine and upgrade in later articles (third and fourth one).

They introduce the two technologies (briefly) and get right in to the directory and database structure they'll be using. They use the NotORM library for accessing the database. Code is included showing the routes for getting, adding, updating and deleting tasks out of the database.

tagged: tutorial slim microframework backbonejs tasks todo application

Link: http://www.codeforest.net/creating-simple-tasks-app-with-backbone-js-and-slim-micro-framework-part-1

Lukas Smith's Blog:
Symfony2, what I think is still left to do
Apr 19, 2011 @ 14:05:11

Lukas Smith has posted some of the things he thinks the Symfony2 framework still has left to do before it can be released in a stable form.

The goal of this blog post is to number one serve me as a todo list of stuff that I personally think needs to be fixed before Symfony2 can be released. Hopefully it will also entice some people to help out with these tasks. I am focusing on the medium to large tasks. There are of course still a fair number of smaller fixes that need to be applied.

Items on the list include:

  • switch Security/Validation components to using message key's rather than full sentences
  • Assetic documentation
  • Adding a DIC aware Serializer
  • Better support for SSL'ed urls and assets
  • ttempt to automatically determine service scopes
tagged: symfony2 todo list framework bugs tasks

Link:

FuelPHP:
Oil Migrations, Tasks and Console (Screencast)
Mar 15, 2011 @ 16:31:39

Phil Sturgeon has put together a screencast showing off a few of the features of the Fuel PHP framework like migrations, tasks and the console the Oil tool provides.

In this video I'm going to be demonstrating migrations which I touched on in the last video but I felt I should go into them in more depth. Migrations [...] are essentially a way to stage changes for your database in a way that means the changes can be independent from the schema as a whole.

He walks you through the creation of a migration with the help of the Oil command line tool. The generated classes include "up" and "down" methods for the creation and rollback of your changes. He shows the process to create a simple task and how to use the built-in console to interactively work with the framework. You can find out more about Fuel on the Fuel documentation section of the project's site.

tagged: fuelphp framework oil console commandline tasks migrations

Link:

DevShed:
Performing Basic Tasks with MySQL 4.1 and Above, using mysqli with PHP 5
Jun 30, 2006 @ 17:14:47

In this new tutorial from DevShed today, they look at a method of accessing a MySQL database that doesn't seem to be discussed as much - mysqli.

All right, I know that you're now saying that's not breaking news, since the implementation of objects is an old programming feature. However, PHP 5 has a lot more to offer when it comes to using MySQL. If you're using MySQL 4.1 and above, the good news is that PHP 5 offers a fairly comprehensive extension, called "mysqli," which allows you to interact natively with MySQL via an object-based approach, aside from taking advantage of the new functionality provided by the database server.

They start with a basic introduction of the extension, including how to perform some of the basic bits of functionality on your MySQL database - connecting, getting host information, and even performing a simple query. They then get into the "real power" behind the mysqli extension, the ability to run multiple queries and handle natively the results of those queries easily. They wrap it all up with a look at using prepared statements with this extension, showing the prepare, bind_param, and execute functions.

tagged: mysql mysqli extension tutorial introduction basic tasks mysql mysqli extension tutorial introduction basic tasks

Link:

DevShed:
Performing Basic Tasks with MySQL 4.1 and Above, using mysqli with PHP 5
Jun 30, 2006 @ 17:14:47

In this new tutorial from DevShed today, they look at a method of accessing a MySQL database that doesn't seem to be discussed as much - mysqli.

All right, I know that you're now saying that's not breaking news, since the implementation of objects is an old programming feature. However, PHP 5 has a lot more to offer when it comes to using MySQL. If you're using MySQL 4.1 and above, the good news is that PHP 5 offers a fairly comprehensive extension, called "mysqli," which allows you to interact natively with MySQL via an object-based approach, aside from taking advantage of the new functionality provided by the database server.

They start with a basic introduction of the extension, including how to perform some of the basic bits of functionality on your MySQL database - connecting, getting host information, and even performing a simple query. They then get into the "real power" behind the mysqli extension, the ability to run multiple queries and handle natively the results of those queries easily. They wrap it all up with a look at using prepared statements with this extension, showing the prepare, bind_param, and execute functions.

tagged: mysql mysqli extension tutorial introduction basic tasks mysql mysqli extension tutorial introduction basic tasks

Link:

Paul Jones' Blog:
Automating Release Tasks
Apr 12, 2006 @ 12:07:41

Paul Jones, author for the popular Solar PHP framework, has posted the secret to his success of being able to release five versions of the framework in seven days - an automatic release process.

But what I want to talk about in this entry is the release process itself. With the help of Greg Beaver (indirectly) and Clay Loveless (directly), Solar now has a moderate-length PHP script that handles almost all aspects of the release process automatically. Usage is at the command line; issue "php release.php" for a test run, or "php release.php commit" for a full release-and-commit cycle.

With any luck, the lessons I’ve learned here will be of use to someone else; with more luck, perhaps someone else will see possible improvements and mention them here. Read on for a narrative of how the script came to be.

He not only talks about the package, he also goes through the three iterations that it took to get the package where it is today. It has evolved from a simple PEAR package, to an automatically adjusting PEAR package, and enhancing it to add administrative functionality to maintaining it. He notes that there are still a few manual tasks that have to be done, but overall, it's a nice and easy process.

tagged: automate release tasks PEAR package solar administration automate release tasks PEAR package solar administration

Link:

Paul Jones' Blog:
Automating Release Tasks
Apr 12, 2006 @ 12:07:41

Paul Jones, author for the popular Solar PHP framework, has posted the secret to his success of being able to release five versions of the framework in seven days - an automatic release process.

But what I want to talk about in this entry is the release process itself. With the help of Greg Beaver (indirectly) and Clay Loveless (directly), Solar now has a moderate-length PHP script that handles almost all aspects of the release process automatically. Usage is at the command line; issue "php release.php" for a test run, or "php release.php commit" for a full release-and-commit cycle.

With any luck, the lessons I’ve learned here will be of use to someone else; with more luck, perhaps someone else will see possible improvements and mention them here. Read on for a narrative of how the script came to be.

He not only talks about the package, he also goes through the three iterations that it took to get the package where it is today. It has evolved from a simple PEAR package, to an automatically adjusting PEAR package, and enhancing it to add administrative functionality to maintaining it. He notes that there are still a few manual tasks that have to be done, but overall, it's a nice and easy process.

tagged: automate release tasks PEAR package solar administration automate release tasks PEAR package solar administration

Link:


Trending Topics: