To me design is…
15/01/2012A great compilation by Vostok Studios on what great designers think about design.
The everyday sharing of Emran Hasan on software development.
Archive of articles classified as' "Web Development"
Back homeA great compilation by Vostok Studios on what great designers think about design.
It took me an hour to properly install the latest versions of ruby, rails and its mysql binder. Although its less than a 5 mins task, I had to search in forums, blogs to deal with the various errors. So just posting this so its easy for someone else to get done with this in 5 mins.
1. Open Terminal and install RVM (Ruby Version Manager)
2. Enter the following in ~/.bash_profile and/or ~/.bashrc (replace YOUR USER NAME with the username you’re logged in with):
3. Install Ruby 1.9.2
I presented this talk yesterday on the phpXperts seminar 2010 – the largest PHP group in Bangladesh. My objective was to give a quick overview on project structure, development practices and use of tools to improve the overall quality of the PHP projects.
So here goes the presentation:
The new Facebook API has already spread over the application developers and if you’re like me, you’ve already got your hands dirty to see how this new thing works. If you have tried to follow the documentation to authorize/get session in your canvas application, it is likely you have already hit roadblocks. Well, I am no savior but I have glued together a few clues and got it working for myself.
I am assuming that you have already created your application by following the Getting Started section from the official documentation. Also, this is for IFrame based applications only.
Enough talking, let’s get some code.
Step 1: Get the new SDK
Download the new SDK from github. We will only need the facebook.php file from the src folder. In our project directory, let’s create a folder called “lib” and put the file there.
Step 2: A configuration file
Let’s now create a configuration file to store our facebook configuration. Let’s name it config.php. Here goes the source:
Step 3: Application Main Page
This file will be the main entry point to our facebook application. It just instantiates the facebook object, sets the configuration and checks for a valid session. If it does not find a valid session, it redirects to the login page. For first time visitors, it will be the authorization page. On later requests, the operation will occur in the background – without any user interaction.
I presented this talk on the Soft Expo 2010 – the largest software fair in Bangladesh. The intention was to clear some of the misconception about PHP, the growth of PHP, how it can fit in the enterprise now, etc.
After these, I shed light on some topics that a company/developer should keep in mind in order to write good software in PHP. This was followed by live session on caching, mysql query optimization, use of Xdebug, etc.
So here goes the presentation:
And a big thanks to Ivo Jansch’s “PHP in the real wolrd” presentation, from where I took inspiration.
Cheers!