background preloader

Programming

Facebook Twitter

Python

Virtual Machines for Web Developers - Web Species blog. There are millions of articles on how to setup LAMP setup on your own machine to allow developing websites locally. I think this is a wrong approach as running server programs in one’s computer creates a lot of potential problems. Better approach for this would be to use Virtual Machines as they allow bigger flexibility and fewer headaches when something goes wrong. Of course you probably don’t want to do it if you are only working on one project or you are just starting your carrier as especially at first it will feel kind of weird. However for people like me who work on a dozen different projects throughout the week it’s just so much better. Hopefully after reading this you will rethink your setup.

Performance Having a VM for web server first of all makes your computer boot much faster. Processors and other hardware nowadays have really good support for virtualization (you can read more about it in Wikipedia) so there is no real performance drawback. Advantages VirtualBox Better setup. Web Development through a VM | Mat Searle. I recently wrote a blog on setting up a local environment in macosx to develop locally. Although this is great and a good alternative the the web servers out there as it is faster, it is not ideal if you need to run different versions of php and also doesn't truly reflect the set up of the linux servers that you are running your website off.

That is why I have written this blog, it is a guide to setting up a virtual machine in virtualbox which you can run your website through and develop against. You can also mount the disk via sshfs meaning that you can navigate the virtual machine like a mounted disk on your mac. This seems a more secure way of developing for clients. First of download the latest version of Virtualbox. At this point you need to set up your own server environment. Next we need to configure virtualbox to allow you to ssh into, it doesn't do this by default.

Ifconfig You should see an ipaddress for your virtual machine next to vboxnet0. Sudo ifup eth1 ssh mat@192.168.56.10. Interpreted Languages: PHP, Perl, Python, Ruby (Sheet One) - Hyperpolyglot. A side-by-side reference sheet sheet one: version | grammar and execution | variables and expressions | arithmetic and logic | strings | regexes | dates and time | arrays | dictionaries | functions | execution control | exceptions | threads sheet two: streams | asynchronous events | files | file formats | directories | processes and environment | option parsing | libraries and namespaces | objects | inheritance and polymorphism | reflection | net and web | gui | databases | unit tests | logging | debugging sheet two: streams | asynchronous events | files | directories | processes and environment | option parsing | libraries and namespaces | objects | inheritance and polymorphism | reflection | net and web | gui | databases | unit tests | logging | debugging version used The versions used for testing code in the reference sheet. show version How to get the version. php: The function phpversion() will return the version number as a string. python: import platform platform.python_version() ruby: <?

Pad.

Lua

Appcelerator. Open Street Maps. Restful url - How to create REST URLs without verbs. Dear business people, an iOS app actually takes a lot of work! | Kent Nguyen. Posted: January 31st, 2012 | Author: Kent Nguyen | Filed under: Development, iOS | 201 Comments » The big question: How much does an iPhone app cost? This is a very common question that I’m asked by a lot of my business-oriented friends and non-tech savvy clients. Without fail, every single time I gave my initial estimation before even locking down the specs, I received that shocked expression because of the unexpected (high) quotation. Yet, none of my quotations has even came close to the range being discussed in this StackOverflow thread, in which the development cost of Twitterific app is discussed. Despite the fact that the original question was asked in 2008 and the best answer (by one of the Twitterific developers) was in 2010, it is still accurate today in Jan 2012 and I can foresee that it will still be true atleast until the end of 2012.

Checklist: Getting ready for the iPhone app This is called creating a set of API endpoints (or simply APIs) for your application.

Continuous Integration

Web UI / Design. Ruby. Theory and Practice. PHP. Android. Databases. Scala. Javascript. Linux. .NET. Version Control.