Archives For PHP

52 Weeks of Code

By Nate LaClaire —  January 21, 2010 — 2 Comments

I read in the January issue of Dream.In.Code‘s newsletter about a challenge called “52 Weeks of Code” that the site has launched. From the site:

For the next 52 weeks we will challenge you, and you will challenge yourself, to become a better programmer. The goal is to broaden your knowledge and understanding of various languages, programming concepts, and techniques. This is not a competition between members. There are no winners or losers. It is simply meant to expose you to new languages, new concepts, and bleeding edge technologies and help you learn.

A new challenge will be posted to the forum each Monday and will be designed to encourage exploration of the topics covered. The challenges will not be limited to any specific area of development (such as Web, games, etc.). The site is inviting programmers to submit their own challenges. In fact, it looks like this week’s challenge is one that was submitted in this manner.

This looks like a fun way to explore some new technologies and to re-familiarize myself with (or further explore) some technologies that aren’t so new to me. I probably won’t be able to participate on a weekly basis, but look forward to participating throughout the year. If you’re so inclined, post a comment and let me know that you’re doing the same so that we can keep in touch about it!

Lifestreaming the easy way

By Nate LaClaire —  December 3, 2008 — Leave a comment

I recently discovered a new PHP/MySQL lifestream tool named Sweetcron. For those of you unfamiliar with the concept of lifestreams, a lifestream simply displays posts you have made to your social networks, blogs, photo sites, etc. It displays a stream of content that is representative of your life, I suppose. I began playing around with lifestreams a few months ago after seeing Joe Tan’s lifestream. Although I really like the way Joe uses Yahoo! Pipes to create his lifestream, I am infinitely happier with Sweetcron.

If you have any PHP experience, you will find Sweetcron very easy to install. If you don’t, I imagine you can figure out the installation without too much difficulty. Simply create the database, change a few lines in a couple of files, upload the files, and complete the installation via the web. Adding new feeds to your lifestream is a snap. Once your feeds are added, you can manually initiate a feed check or wait for Sweetcron to automatically do it. Sweetcron’s feed fetcher prefers to be run automatically via Cron or a Cron-like tool, but the software provides its own “Pseudo Cron” in case you don’t have access to such a tool.

My own installation of Sweetcron uses the default theme, but it looks easy to customize the layout and I look forward to doing some of that and posting a follow-up.

By the way, Sweetcron was developed using the CodeIgniter PHP web application framework and provides a good demonstration of what CI can do. I have looked into CI before but never put a lot of time into it. I’m hoping to get to know it better now that I have seen it in action.

MySQL’s DevZone provides chapter 3 of php|architect’s Guide to PHP Security for free download. The chapter explains how to protect your PHP applications from SQL injection. Download it now.

links for 2006-07-08

By Nate LaClaire —  July 8, 2006 — Leave a comment

links for 2006-06-20

By Nate LaClaire —  June 20, 2006 — Leave a comment

links for 2006-06-18

By Nate LaClaire —  June 18, 2006 — Leave a comment

links for 2006-05-18

By Nate LaClaire —  May 18, 2006 — Leave a comment

links for 2006-05-17

By Nate LaClaire —  May 17, 2006 — Leave a comment

links for 2006-05-16

By Nate LaClaire —  May 16, 2006 — Leave a comment

links for 2006-05-12

By Nate LaClaire —  May 12, 2006 — Leave a comment