Bin-Blog

Learn about the latest in Web Development - as soon as I do.

Archive for the ‘Web Development’ Category

Web Installer: The Code

By Binny V A • Jul 11th, 2007

The last two posts on web installer did not include any code. I wanted to dump all code into one post - this is it. Please note that this is what I did - you don’t have to copy my code as it is. Just look at the code and modify it according to your [...]



3 Simple Steps to create a Web Installer

By Binny V A • Jul 6th, 2007

Creating a web installer is not hard - as a matter of fact - it is downright easy. You just have to know a few things. Get the database details, create the database, save the details. That’s it!
Getting Database Details

A simple four field form will suffice. The important thing to remember is that the data [...]



Web Application Installer

By Binny V A • Jul 1st, 2007

Almost all distributed web applications has an installer - it makes installation process easier for the end user. I will try to outline some of the most important things to look out for when creating an installer.
Examples of Web Installers
WordPress

Joomla

Nexty
I have created an installer for Nexty - I used the same installer for Jus5 as [...]



Success/Error Design Pattern For Ajax

By Binny V A • Jun 22nd, 2007

‘Success/Error’ design pattern for Ajax requests is a JSON encoded string in a specific format - each response has a minimum of two elements in it - ie ’success’ and ‘error’ - like this…
{
“success”:”Task done successfully”,
“error”:false
}
OR
{
“success”:false,
“error”:”Database Connection Error!”
}
This method is used extensivly in Nexty. Almost all Ajax response in Nexty ares in this format.
Since this [...]



CSS Templating System

By Binny V A • Jun 11th, 2007

In Nexty I used CSS to create a inexpensive templating system. You can see it in action in the settings page of Nexty. Currently I use it only for changing the icon sets. But you can change the colors and the layout using this system.

Before starting, I must say that CSS is not the most [...]



Iconify Links with CSS

By Binny V A • Jun 5th, 2007

Using icons is a must for all Web 2.0 apps. I have used this principle liberally in Nexty. When I was creating Nexty, I learned a simple trick that made using icons with CSS much easier.
Go to Nexty to see the icons

3 Types of Icons
I used 3 different classes for showing icons. They are..
icon
This class [...]



Google Gears - Offline Functionality for Web Apps

By Binny V A • May 31st, 2007

There has been many ideas about a offline storage mechanism for web applications. Dojo implemented this in its Library. Firefox 3 promises this. Now we have a new arrival in this area - Google Gears. Unlike Dojo’s implementation, Gears require an extension for it to work.
Google Gears is an open source browser extension that lets [...]



What I learned from Nexty

By Binny V A • May 27th, 2007

Remember Nexty? Recently I was able to make the 1.0 version. Currently I am planning for the second version. But before starting on that I want to document the different things I learned when creating Nexty. These are a list of things you can expect on this series…
Client Side

CSS

Icons
Theming using CSS

JavaScript

Ajax - Success/Failure Pattern

Server Side

Installer
Framework
API
Distributed [...]



iFrame Features

By Binny V A • May 22nd, 2007

In the previous post I introduced my new PHP framework - iFrame. It had the reasons why you should not use the framework. In these post, I will talk of the advantages you get if you use my framework. But remember - do not use my framework.
No routing - Fully file based
There are no [...]



iFrame - My PHP Framework

By Binny V A • May 18th, 2007

I have created a number of Web Applications - Nexty and Jus5 are just a few examples. I used a common code base when creating these sites - but I did not consider it a full fledged framework. However, now the code base has evolved enough to be called a framework. So, I called it [...]