Git for Source Control

February 15th, 2009 / By sourcebits staff / No comments

Source Control is an essential part of the development system that any and every programmer needs to utilize. Simply put it is a repository of source code that keeps track of revisions and is a system that allows multiple programmers to work on one copy of code without issues. There are numerous version control systems (VCS) out there including Subversion,…

Easy RSS Consumption with Simple Pie in PHP

February 1st, 2009 / By sourcebits staff / No comments

Introduction

RSS Feed consumption has always been a stick point in PHP. Simple Pie is a library that works with both PHP4 and PHP5 that enables you to easily parse and save RSS feeds. Today I’ll show you some common uses of Simple Pie and explain how it runs.

Simple Pie requires:

  • PHP 4.3.0 or higher
  • cURL Enabled.
  • zLib (Caching?)

As well as a few other PHP modules…

Tutorial: Automated Site Backup with PHP and FTP

January 25th, 2009 / By sourcebits staff / No comments

In this tutorial we are going to make a PHP script that archives your website into a .tar file, then automatically moves it to an external FTP server for safe keeping. We can then setup a cron for this script which will execute it automatically every day/week/month , however frequent you want it. This will only work on Linux servers…

Other jQuery Uses

January 19th, 2009 / By sourcebits staff / 1 comment

We traditionally think that jQuery’s selector engine can only select elements/information off of the document that we are working on. And AJAX’s only use is to process web forms without the page needing to reload. While both of these are common uses, they are not the only uses. In this tutorial I’m going to show you a not-so-mainstream use of…

Increase Development Speed With jQuery

December 24th, 2008 / By sourcebits staff / No comments

As we all know jQuery is a very small language. Not only is the file size of the jQuery library small, but the amount of code you need to write to achieve something is also very small. Because of this it is sometimes more efficient to write and test jQuery code in the browser than in a local file. To…

PHP/jQuery Todo List Part 2

December 8th, 2008 / By sourcebits staff / 3 comments

This is part 2 of a 2 part series on making a Todo List with PHP and enhancing it with jQuery’s AJAX

In part 1 of the tutorial, we covered the PHP and MySQL side of things. In this part we will be enhancing it with jQuery’s AJAX and manipulation functionality. The to-do list will degrade fine - if the user…

PHP + jQuery Todo List Part 1

December 3rd, 2008 / By sourcebits staff / 1 comment

This is part 1 of a 2 part series on making a Todo List with PHP and enhancing it with jQuery’s AJAX

In this two part series I’m going to show you how to make a simple to-do list in PHP, and then enhance it using jQuery’s AJAX and manipulation capabilities. This won’t follow any proper coding principles, but will give…

Top 5 PHP Resource Websites

November 30th, 2008 / By admin / No comments

PHP is a very vast language. It’s hard to say that you’ve mastered it. For example, do you know how to crop an image using GD and process web requests with XML-RPC off the top of your head? You may know one of them, but probably not both. That being said, there are a lot of resources out there that…

jQuery In Action

November 20th, 2008 / By admin / No comments

In an attempt to sharpen up my jQuery, i purchased the book jQuery in Action by Bear Bibeault and Yehuda Katz. Reading through the book, i could see that the first few chapters were obviously aimed at beginners. They covered selectors (If you know CSS already your fine) and events. You can easily get this information off the jQuery doc site,…

Fedora 9 Package Management

November 20th, 2008 / By admin / No comments

Fedora 9 includes the new package manager called Package Kit. It aims to be the package manager for your system, as it can install apts, slackware packages,rpms and many other file formats. I booted into it and noticed 2 things.

  • The first, its incredibly slow - It took along time to download the updates i needed (Slower than downloading a normal…