Web Development

Trends, tools and development tips and tricks.

How to Build a To-Do App with CodeIgniter

Getting Started with CodeIgniter
Now that I’ve introduced you to the framework, it’s time to get started on our project.  We’re going to be creating a to-do app, step-by step, over the course of the next few tutorials. Today, we’re going to do the initial configuration and I’m going to introduce you to a helper, specifically the form helper. This is something you’ll always want to include in your autoload file because it is going to be called all the time. What good is… continue…

An Outstanding Guide to JavaScript and jQuery

Book cover: Murach's javascript and jquery thumbnail
jQuery is open source at its finest. It’s a fast and small JavaScript library that streamlines things HTML document traversal and manipulation, event handling, animation and Ajax. It offers a simple API that works across browsers. It’s great. But for those of us who’ve used it infrequently over, the documentation isn’t the easiest to work with. Oh, sure, it’s complete and includes a lot of examples, but it usually takes me an hour or two of Web searching to find… continue…

Modeling Data With CodeIgniter

Getting Started with CodeIgniter
This is going to be the last chapter in my series on CodeIgniter before we begin our project. It’s important to understand how to model data for consumption by views. I’m not going to go into the basics of MySQL here. There are plenty of courses out there to learn about that. For a lot of what you do in CodeIgniter, you’re not going to be writing SQL, anyway. We’ll be using CI’s ActiveRecord. Please note this is not Ruby’s… continue…

How to Build Controllers and Views with CodeIgniter

Getting Started with CodeIgniter
Now that we have the CodeIgniter configuration out of the way, let’s get started with our first controller. We’ll also create a view for it, and then we’ll pass data from the controller to the view. Creating a controller is fairly easy once you’ve done it a couple of times, but at first it can be a bit confusing to someone with little experience in PHP.  There are three major rules for controllers: They must have names that are legal… continue…

CodeIgniter: How to Configure the Framework

Getting Started with CodeIgniter
In this, the second part of my series on working with CodeIgniter, we’ll move into configuring the framework for use on a local computer or dedicated server. Since the staff at Ellis Labs has made this easy, you’ll be up and running in minutes. If you’ve unzipped the CI zip file, as I described in my first post on CodeIgniter, you should be looking at something like this: As I said in Part 1, the first thing I do when… continue…

Getting Started With CodeIgniter

Getting Started with CodeIgniter
CodeIgniter is a popular PHP MVC framework that’s developed a following for a variety of reasons: First, it’s very well documented. Second, there’s a lot of support for it in forums — people are familiar with it and generally happy to help. Third, there are many, many tutorials out there on how to use it. Fourth, it’s free. And fifth, it’s MVC. This is the first in a series where we’ll delve in CodeIgniter. We’ll start with an introduction to… continue…

5 Gutsy Steps to Remain a Relevant Web Developer

Resisting Change Leads to Obsolescence or Death
Got a Web developer gig and feeling cushy in the job? Ahem, better wake up before your pillow is pulled out from under you. Ask Jeremy Morgan, a lead Web developer for CDI IT Solutions and a former hiring manager at other companies, and Betsy Collard, a veteran Silicon Valley career coach. Last year, when startup PHP Fog pivoted and transformed itself into AppFog, the issue of remaining relevant as a Web developer prompted discussion among Morgan and his older… continue…

How to Produce Dynamic Mulitplayer Games With PHP

world-of-phaos
It’s relatively easy to set up a Web-based massively multiplayer game (MMO), though realistically you probably won’t have more than a few hundred players. I’ve chosen World of Phaos (WoP), which you can access from the SourceForge.net, an excellent site for open source projects. WoP is a PHP, MySQL game and can run on a shared server, VPS or dedicated server. Shared servers are cheaper and are just fine for most games, but will generally limit you to running PHP/MySQL… continue…

Developers Take Dynamite To Skills and Win

SVCC12_10
Peter Kellner, founder and coordinator of Silicon Valley Code Camp, says that if you’re a developer, you need to be ready for the next big thing. Kellner has been running this event for seven years and the one constant he’s seen is constant change. Developers are always trying to figure out what the next big thing is, said Kellner and this year the conversation surged around HTML vs. native. Facebook’s recent switch to native for its phone app, was the… continue…

Web Developers are Naturals for Windows 8

SVCC12_09
“If you’re a Web developer, you’re already a Windows 8 developer,” says Jeremy Foster, a leading Developer Evangelist on Windows 8 for Microsoft. All your classic Web development skills, such as HTML, CSS, and Javascript that you use to make an application can be used in the Windows 8 environment. There’s a native component to it as well. You’ll still need to interact with elements of the device, that’s where native programming comes in but it’s all within your Web… continue…