The year 2014 is almost over, but looking around my developer colleagues, I see that there is still a lot of old knowledge and outdated techniques for using your Mac for (web-) development purposes. To counter this lack of information I will outline the steps I took to lift my two primary OS X systems into the new age. Gone are the days where we need to have a webserver, database system and a plethora of different packages installed on our main operating system and deal with breaking changes whenever a new OS update (Hello Yosemite!) comes along.
This post talks about setting up your own private local development server with all the needed software to start developing applications with PHP and MySQL without having to install any server software on your main operating system. The end product will also give you the means to quickly set up an identical virtual machine on any number of additional computers you might want to use for your development.
Disclaimer: As I am a heavy user of Laravel these days, this set-up will mainly center around web development and PHP.
<Pomax> 20 years from now, someone is going to have the radical idea to give users access to the underlying OS, rather than to the browser API, and he will be heralded a revolutionary.
<Pomax> All manner of programming languages will pop up that work outside “the browser”, giving access to “offline” applications, storing files in “user space”, even perhaps running in something called “kernel mode”.
<Pomax> It’ll be a brave new world.
<Mirell> It’s scary that’s believable.
On that note, I’d like to point you to my new company website, where I do web & mobile app development … 😉
The Yahoo! Query Language is an expressive SQL-like language that lets you query, filter, and join data across Web services.
YQL’s possibilities are virtually endless, say you want to get specific Flickr Images containing a defined word in the title, or you want to geo-code some addresses on the fly. YQL makes those tasks extremely easy by just forming a simple query that gathers the data. Output can be switched between JSON and XML, so you can choose whatever fits best for your application.
The best way to go about using a YQL service is as follows:
- Construct your query using the YQL Console and try out if it gives you the right result.
- Copy the REST Query URL the console gives you at the bottom and insert it into your web app. There are even examples in the documentation on how to use REST queries in different programming environments.
The HTML5 Boilerplate is a (near) perfect template to start off a new web project according to the newest standards.
Read more about it on the HTML5 Boilerplate Website.