Hot New WebDevelopmentBits

Light weight alternatives to Apache

When it comes to choosing a Linux web server, Apache, as we all know, is almost a de facto standard. There is even a chance that your web host does not even offer (or worse, know of) an alternative web server. So, it’s not a big surprise that many developers don’t know too much about what other alternatives are available to them.

Dual form processing

Recently, a client of mine wanted a single web form, residing on the localhost to submit the form contents to a database in the localhost, and as well as to a web server simultaneously. Although this sounds like an unnecessary duplication of data, my client wanted some of the form data to be stored on [...]

FLOW3 is arriving

Not yet released, FLOW3 starts making noises on the mass: what’s TYPO3 up to?

As a result of the already proven TYPO3 CMS, the upcoming 5th version of the system is bringing a solid PHP framework, which can be used apart from the whole system for developing applications of any kind.

The FLOW3 subsite stats, against what’s [...]

No IE6 support on new W3C website?

W3.org is overhauling its website in order to make it more user-friendly and quiet people who used to wonder (including me) why the administrator body of web have such dull, flat, unorganized and old fashioned website?

The new website looks more attractive and organized. 10 minutes tour of new website …

Zend Framework - Sourcebits Contribution Team

Sourcebits is investing efforts for making one of the best PHP frameworks even better. With a whole team of talented and skilled developers, we’re contributing to the framework using the best proven components we have developed based on our experience using the Zend Framework on our projects.

You can check out the proposals we have already [...]

Using the keyword “this” in PHP

You may come across number of functions, variables inside a class, you
call each one them as object of the class.

The keyword “this” is used in a class in php , to call and use these objects as
shown in the example below.

HTTP Request without CURL

A short tutorial on how to make a simple object for HTTP request without the need of using CURL.
The way to accomplish that is using the function stream_context_create to prepare the string, and then you use fopen and stream_get_contents to get the response.

<?php

class Custom_Http_Request
{
private $_url;
private $_body;
[...]

See, Yes! Yes! - GO

Modular CSS needs to be developed and all inherited properties needs to commented within CSS declaration so one don’t repeat same CSS again and selectors needs to named by some naming convention (e.g. prefixing every declaration by module).

Modules needs to be devised in such way so it remain plug and play if plugged in different application.

Alert!!! Phishing Net Ahead!

Phishing is a scam where Internet fraudsters send spam or pop-up messages to lure personal, financial and Intellectual information from unsuspecting victims.

Personal Phishing ask for the Personal info ie. Address, email Id, Contact No.

Financial Phishing asks for Bank Details, Credit Card details and …

Playing with MouseEvent in Flex 3

I have come across a very interesting problem while developing a flex application where I have a
button control and I want to call two different functions on  click of the button . The interesting part
is that I want to call two different functions on different events of the same button control, one at
single click and [...]

See, Yes! Yes! - STEADY

Not every validated webpage is accessible or ideal but every invalid web page is bad. So always try to validate. First by validating from validators and then by common sense, because technically a page with thousands of nested DIVs are valid. button stimulated out of div is valid. But question is… Is it really?

SingleTon Pattern in Flex

What is singleton pattern?

The singleton pattern is a design pattern that is used to restrict instantiation of a class to one object. If you create the class as a singleton then no way to create more than one instance. But, you can get that single instance in any number of classes. So all the classes [...]

Modular Applications

Modular applications

Sometimes our flex application’s size becomes very large. Due to this, we are facing many problems such as bandwidth, network traffic and it will take more time to load. We have many ways to solve this problem such as

1. Do not embed the assets into the project.
2. Modules.

About Modules

Modules are the swf [...]

Philosophy of Object Oriented Programming and Software Design

Now, I am no expert in OOP or software design, but here’s a philosophy which might help you make the most of what you know about OOP and software design.

PureMVC

PureMVC is a framework which helps the Flex programmers to create applications in the MVC architecture. It helps the programmers to develop loosely coupled components. It helps to create the resusable codes. Very easy to understand and maintain than other frameworks. Forces the singleton pattern.

We can divide the pureMVC as:

Facade & Core
Controller & [...]

See, Yes! Yes! - READY

In today’s web arena, CSS has proved its importance in rigid way. Web content is no more targeted to web browsers only, Web content is been served for a verity of media now days. To efficiently handle such situation CSS plays a very crucial role.

In order to extract maximum pulp from CSS fruit there are [...]

RIA and Flex

A rich Internet application (RIA) is a Web application designed to deliver the same features and functions normally associated with deskop applications.

RIAs typically form a stateful client application with a separate services …

A Tableless Table - Exploring the power of CSS3

The recent browser versions like Firefox 3, Google Chrome, Internet Explorer 8, Opera 9.5 and Safari 3 are now coming with a great and brand new support: CSS3. Some of the new properties are introduced and here I am going to describe the table value for the display property.

To align data in a tabular structure [...]

How to hold a more effective code review

I found a very interesting article about Code Review that I’d like to share.

The article was written by Andrew Stellman and you can read it at Head First Labs in the address http://www.oreillynet.com/headfirst/blog/2008/09/how_to_hold_a_more_effective_c.html.

Enjoy!

Apache SSL - For Secure online transactions

Hey you are planning to start a e-commerce website, then you must know about SSL without which no one will trust your website as a safe place to use their cards…

What is SSL?

SSL (Secure Socket Layer) is a protocol used for secure data transfer. This is done by using private keys and certificates. A private [...]

Build a personal website in just an hour…

Are you planning to have a personal website for publishing your biography or a wedding website to share your happy moments with the world. Here is the guide to setup a personal website in just an hour…and it costs you less than $25…

To start a personal website we need following things

1. A Domain Name (A [...]

Web Hosting in Detail (Choose best hosting for your Domain)

If you are planning to build a small personal website or big communtiy website you need a hosting account. But these two sites wont fit with a single hosting type.

Generally if you search for a hosting provider you will find different plans starting from $1 per month to $100 per month or even more, single [...]

Yes, I’m an OOP developer! But Design Patterns?!?

“Well, I went pretty fine on my Object-Oriented experience. I’ve learned something about polymorphism, inheritance, encapsulation and now I really know how to extend a class! I’m ready for developing cool object-oriented applications.”

But what about the design? No, no… I don’t mean that design where you place the squares and circles in their places, draw [...]