HTML & CSS
Claudio Lassala, Dec 02

PHPMaster: Charting with pChart

Created and maintained by Jean-Damien Pogolotti, a systems engineer based in Toulouse, France, pChart is a library that creates anti-aliased charts and graphs using PHP. It’s object-oriented code has been recently redesigned and makes it easy to add beautiful, eye-catching data. The library is free for non-profit use and for inclusion in GPL distributed software; licensing plans for other uses start at just 50€.
HTML & CSS
Claudio Lassala, Dec 02

RubySource: Happenings in Ruby

There I was, sitting at my desk looking over the upcoming article schedule for Rubysource, when I realized I had inadvertently published TWO articles on Wednesday. The immediate consequence of my stupidity is we’d have no article to run on Friday (we try to publish M-W-F around here) and I’d have to fend off a bunch of different questions that all had the same answer: “Because I am stupid.” It’s our reaction in times of high adversity that define who we are as managing editors. Our first reaction was to smash our head on the desk while coming up with various adjectives about ourselves. Our second reaction was, inexplicably, to start referring to ourselves in plural third person, like royalty
HTML & CSS
Claudio Lassala, Nov 30

RubySource: Loccasions: Going Client-Side with Leaflet, Backbone, and Jasmine

We’ve finally arrived at the moment of the map. For the last several articles in the Loccasions series , I have promised things like “in the next post we will deal with the map” and “I will lower taxes,” and I have not delivered. In this post, I will fulfill at least one of those promises. Adding the map to this application is almost completely a client-side proposition.
Programming
Claudio Lassala, Nov 30

PHPMaster: Defining and Using Functions in PHP

Let’s start by defining the word “function.” A function is a self-contained piece of code which carries out a particular task (or function!). A key benefit of using functions is that they are reusable; if you have a task that needs to be performed a number of times, a function is an ideal solution. They can be either defined by you or by PHP (PHP has a rich collection of built-in functions). This article will focus on programmer-defined functions but will touch briefly on PHP’s functions to complete the picture
HTML & CSS
Claudio Lassala, Nov 27

The Storm Has Arrived

You have your big players in the cloud like Amazon and Rackspace. Then, there’s Liquid Web with Storm On Demand . They are relatively new to the cloud computing scene but, they aren’t a new company.
Programming
Claudio Lassala, Nov 23

PHPMaster: Practicing Regular Expressions with Search and Replace

If you’re just starting out with regular expressions (regex), the syntax can seem a bit puzzling at first (I would recommend Jason Pasnikowski’s article as a good starting point). One of the things that make it difficult to grasp regex in the beginning is the small number of times you have a chance to use them in your code, which in turn limits the amount of practice you have using them. Professionals in any capacity, be it sports, entertainment, or development always practice – some practice more than others.
HTML & CSS
Claudio Lassala, Nov 21

Understanding Google App Engine (GAE) Java API Part 1: Landscape Overview

Writing apps in your favorite language on the web is fun and rewarding for developers — and can be a good value proposition for small businesses and start ups. This is easily possible with Google App Engine (GAE), with Java as the language of development. It’s very important to know the landscape within which you can build your application using emerging GAE, and to understand the limitations of an evolving product. Sandboxed Runtime Environment for Java Applications in Google run on Java 6 JVM, and the SDK supports Java 5 or later.
Programming
Claudio Lassala, Nov 21

PHPMaster: PHP Sessions

$_SESSION is a special array used to store information across the page requests a user makes during his visit to your website or web application. The most fundamental way to explain what a sessions is like is to imagine the following scenario: You are working with an application. You open it, make some changes, and then you close it. That is a session in it’s simplest form.
Programming
Claudio Lassala, Nov 15

Using the Rackspace PHP SDK

As a recap from my previous article , CloudFiles is a an online storage service for your static content. Rackspace provides a Software Development Kit (SDK) for multiple programming languages. They store their PHP SDK on GitHub . The PHP SDK requires PHP 5 with the following modules: cURL, FileInfo and mbstring.
Programming
Claudio Lassala, Nov 09

PHPMaster: Error Handling in PHP

Errors are the most common event a developer faces when programming. Errors can be categorized as syntactical, run-time, or logical: missing the semicolon at the end of a statement is an example of a syntax error; trying to connect to a database when the server is down is an example of a run-time error; providing incorrect data to a variable is an example of a logic error. To help reduce the number of errors in your code, and to mitigate their effects, proper error handling is essential in your web application. This article is a crash course in PHP error handling.
HTML & CSS
Claudio Lassala, Nov 09

PHPMaster: The Importance of Standards

The working world would be nice if we could only develop and maintain our own code. The reason being: we would inherently understand the concepts, work-flow, and logic within it. But like every working developer I’ve ever known, including myself, our days are filled with maintaining existing programs – sometimes a process not for the feint of heart. As a long-time programmer, often with a staff of other programmers to watch over, I learned early in my career how important enforcing programming standards is in contributing to the overall success of a project.
HTML & CSS
Claudio Lassala, Nov 07

PHPMaster: The Importance of Standards

The working world would be nice if we could only develop and maintain our own code. The reason being: we would inherently understand the concepts, work-flow, and logic within it. But like every working developer I’ve ever known, including myself, our days are filled with maintaining existing programs – sometimes a process not for the feint of heart. As a long-time programmer, often with a staff of other programmers to watch over, I learned early in my career how important enforcing programming standards is in contributing to the overall success of a project
Programming
Claudio Lassala, Nov 07

PHPMaster: Code Templates, AutoHotKey, and Ditto: Speeding Up Development

Writing an application in PHP or any other language is both a rewarding and sometimes challenging endeavor. It’s also a time consuming process depending on the complexity of the project you’re working on. Some IDEs have built in tools or plugins that aim to speed up the programming process.
Programming
Abdullah Abouzekry, Oct 29

PHPMaster: Localizing PHP Applications “The Right Way”, Part 1

New audiences around the world access the Internet every second, most of whom would be delighted to find your content in their mother tongue. You might think you only need a good translator to translate the user interface of your website, an easy task nowadays given how easy it is to find one, but the bigger challenge isn’t translating or writing multilingual content… it’s writing the code behind the scenes. Localizing software applications in general used to be a cumbersome and error-prone task resulting in a lot of messy code. Some developers even use different versions of code for the same application but for different locales, which makes managing the codebase practically impossible.
Programming
Claudio Lassala, Oct 29

PHPMaster: Introduction to MongoDB

As a PHP developer you are probably used to seeing applications and articles using MySQL or some other relational database management system (RDBMS). But in the past few years, a new kind of database has gained adoption in the software development community. This new type of database focuses on document objects rather than strictly defined records and relationships, and has been nicknamed “NoSQL.” There are a lot of implementations of the NoSQL concept, but one of the most famous and widely used NoSQL databases is MongoDB. I think it’s one of the most interesting NoSQL databases available currently, and it’s considered by many to be one of the easiest to use (which has helped it gain widespread adoption)
Programming
Dustin Runnells, Oct 29

PHPMaster: Understanding OAuth – Tweeting from Scratch, Part 2

Welcome back to Understanding OAuth – Tweeting from Scratch. This is Part 2 of the two-part series and picks up right where we left off in Part 1 with your returned Access Credentials. Since obtaining the credentials is the grueling part of the process, there’s not much more left to do except posting a tweet on the user’s behalf. Hopefully you’ll find the final steps to be a lot easier to follow and more fun to implement.
Programming
Claudio Lassala, Oct 16

PHPMaster: PHP Sessions

$_SESSION is a special array used to store information across the page requests a user makes during his visit to your website or web application. The most fundamental way to explain what a sessions is like is to imagine the following scenario: You are working with an application. You open it, make some changes, and then you close it.
Programming
Claudio Lassala, Oct 16

PHPMaster: Integrating Amazon S3 using PEAR

I was recently looking for a hosting service for an application I was developing. I decided to investigate Orchestra.io , as I was expecting it to get surges of traffic at specific points during each year and needed the application to scale accordingly. In the process of reviewing documentation for Orchestra.io, I found that it doesn’t allow file uploads . Instead, it’s recommended that Amazon S3 be used for file hosting
HTML & CSS
Claudio Lassala, Oct 13

PHPMaster: Array Handling Functions

In my previous article on PHP arrays I suggested a number of things that are tables and therefore can also be expressed as arrays. In this article I’ll use a pack of playing cards to explore some of the built-in array functions most often needed by PHP programmers. To highlight some of the array-handling functions PHP offers, I’ll be using some components of Buraco – a game very popular in my part of the world and quite similar to Rummy. Real-world Buraco is played with two decks (104 cards) plus two Joker cards
Entrepreneur
Claudio Lassala, Oct 10

PHPMaster: Creating a Mobile Photo Blog, Part 1

It seems like everyone these days is texting away on their mobile phone or updating their social network status every 5 minutes. It’s no surprise that the convenience of being able to access the Internet from anywhere at any time has made sharing messages and pictures so popular. I can’t imagine going anywhere without my cell phone on the off chance that something interesting might happen and I can document it as if I were the first news reporter on the scene. This is the first article in a two-part series in which I will show you how to create a photo blog as part of your personal website which you can update from your phone simply by sending an email.
Entrepreneur
Claudio Lassala, Oct 09

PHPMaster: Documentation Makes the World Go Round

You’re working on a software project, probably not a new situation if you’re reading this, and happen upon specific functionality you need for your project. Being the efficient (and lazy) developer that you are, you recognize that this functionality is general enough that it’s probably been needed by someone before and a library of some sort has been written for it. Why reinvent the wheel? So you jump on your preferred search engine, find a likely candidate, skim over the landing page, and conclude that this library meets your requirements.
Programming
Claudio Lassala, Oct 05

RubySource: How Can a .NET Developer Get Started on Ruby or Rails?

Common question for .NET developers deciding to venture into Ruby are: Where do I start? What should I learn first: Ruby or Rails? What do I need installed? What are the best resources to get started
PHP
Claudio Lassala, Oct 02

PHPMaster: Preventing Cross-Site Request Forgeries

Cross-site request forgery (CSRF) is a common and serious exploit where a user is tricked into performing an action he didn’t explicitly intend to do. This can happen when, for example, the user is logged in to one of his favorite websites and proceeds to click a seemingly harmless link. In the background, his profile information is silently updated with an attacker’s e-mail address. The attacker can then use the website’s password reset feature to e-mail herself a new password and she’s just successfully stolen the account.