Andy Hawthorne is from Coventry in the UK. He is a senior PHP developer by day, and a freelance writer by night, although lately that is sometimes the other way around.

Andy's articles

  1. Learn Rails in a Weekend with JumpStart Rails

    I’m the author of SitePoint’s latest book in the Jump Start series called Jump Start Rails. There is also an accompanying course for the book called “Building Your First Rails App”. Here, I’ll describe what the book (and course) sets out to achieve. The book is intended for developers who already have some experience developing […]

  2. 4 Reasons to Try Sinatra

    Sinatra bridges the gap between complex, multi-tiered frameworks, and simplicity. If you don’t have a software development education (I don’t) need to develop for the web on a professional basis (I do), then Sinatra offers everything you need. The list of reasons to give Sinatra a try could be a very long one, but many […]

  3. Scaling Your Web Application: VPS vs PAAS

    You have deployed your Rails application to your VPS, or to Heroku. Traffic starts to arrive as interest in your application builds. Next, it goes viral. Then your application crashes… Much has been discussed about the scalability or otherwise of Rails. Conventional wisdom suggests that it’s not the web application itself that crashes due to […]

  4. Deploying a Rails Application

    Deploying a PHP web application involves either uploading files to a server via FTP, or committing and pushing to a master branch of a Git repository. There is nothing complex about it. Deploying a Rails app is easy according to the official Rails documentation. As much as I love the official docs, they have got […]

  5. PHP to Sinatra

    When it comes to prototyping, there is no reason that it can’t be done with PHP. My own core web development is with PHP, but have found increasingly, that I want something better. Better, that is, at getting a web application running with a minimum of fuss. In this article, I’ll assume that your starting […]

  6. Amazon Cloud Drive

    There are plenty of cloud storage options available, and many now offer 5 Gb of free space. Google have just joined the fray with Drive, and we all know about DropBox of course. You may of heard about Amazon S3, and EC2, but Amazon also offer another cloud storage solution called Amazon Cloud Drive. It […]

  7. Getting Started with MongoLab: Part 2

    In the first article about MongoLab, I showed you how to get set up with MongoDB for local development, and MongoLab, the PaaS service built specifically to handle remote deployments of a MongoDB database. In this article I am going to show you how to work seamlessly with MongoLab to continue building a simple PHP […]

  8. Getting Started with MongoLab

    MongoDB is one of those NoSQL databases that has gathered popularity quickly. Even if you are a little skeptical about the NoSQL movement, some time spent with MongoDB will be a good experience. Especially when you learn that it is an open-source project, and is supported on all of the major operating systems. It should […]

  9. How to Deploy Your First App to PHP Cloud

    In this article, you’ll set up a CakePHP installation within PHP Cloud. Along the way, you’ll see how to access MySQL, deploy code, and use SFTP from your FTP client to access the application container

  10. How to use Dropbox with SVN or Git for Cloud SCM

    Dropbox is a popular cloud-based storage and backup service. its success can be identified as maintaining a reliable service, and being available on every platform – including mobile ones. In this article, I will explain how Dropbox can be used to manage the source code for small, personal projects. I’ll provide examples using both Git […]

  11. How to Build a CodeIgniter Web App on PHPFog

    PHPFog is a cloud hosting solution for PHP applications. It offers a free shared cloud that includes access to a MySQL database, and the ability to add 3 apps to your account. The main idea behind PHPFog, is that it looks after all the server requirements for you, leaving you free to design and write […]

  12. Pagination with CodeIgniter

    Pagination is useful when displaying a large dataset which might have hundreds results and provides a much nicer user experience. In this tutorial, you’ll learn how to use CodeIgniter’s pagination library to create a paginated list of results from a MySQL database.