TipLite
Keep It Simple Smart
Keep It Simple Smart
Aug 30th
Debugging code can be the most vital task a developer required to do. Debugging makes it easy to find logical errors in code. NetBeans supports PHP debug using xdebug, but in CakePHP it is hard to make this work straight. This is due to custom, pretty, URL rewriting. However you can enable debugging even with pretty URLs and URL rewriting.
More >
Feb 12th
NetBeans is a very powerful development environment for many languages including PHP. With the release of its latest version, NetBeans announced full support for symfony PHP framework. NetBeans can also support many other PHP frameworks and libraries although it is not officially supported by NetBeans. This support needs some effort to enable some tools specially auto-complete, or intellisense, which saves a lot of time for developers.
We will start to make NetBeans support CakePHP. Firstly we need to create a cake project using cake command line tools. More >
Feb 5th
NetBeans has introduced a very powerful development environment for PHP since version 6.5. It has some features that make development even easier. Until NetBeans has launched its 6.8 version, it introduced many features for PHP developers. Here is some features: More >
Jan 21st
Jan 18th
Finally, I had the decision to start a series of tutorials for JavaScript libraries I love most. I’ll start with the most famous and the one I love most, jQuery. It will not be a crash course in one page and we are finished. This is gonna be a complete reference for developers who wants to learn the basics and advanced topics of jQuery the JavaScript library I love most.
Jan 11th
What is a wave?
A wave is equal parts conversation and document.People can communicate and work together with richly formatted text, photos, videos, maps, and more.
A wave is shared. Any participant can reply anywhere in the message, edit the content and add participants at any point in the process. Then playback lets anyone rewind the wave to see who said what and when.
A wave is live. With live transmission as you type, participants on a wave can have faster conversations, see edits and interact with extensions in real-time.
Jan 5th
Linux needs swap space or virtual memory to expand the real memory (RAM), and believe me it won’t work as expected all the time if there is no sufficient swap space. Swap space usually is setup as a separate partition which is set during installation or later by the system administrator. But sometimes you need to create extra space for virtual memory for any purpose (Oracle installation for example). But if you don’t want to mess up with your hard disk, here is a simple way to create a file which serves as a swap partition. More >
Dec 1st
CakePHP 1.2 has HTTP basic authentication added to Security component which can be added to the controller using the following line in code in the following line of code
var $components = array('Security',);
To use the HTTP basic authentication you should add those lines to the action you want to restrict access:
$this->Security->options = array('type' => 'basic', 'realm' => 'Restricted Area');
$this->Security->loginUsers = array('user1' => 'password1', 'user2' => 'password2');
$this->Security->requireLogin();
Realm option can be any description to the area where you want restriction. This can be any string you want. The option for ‘loginUsers’ is an array which the keys are user names and values are passwords.
More >
Oct 15th
Do you want the powerful Unix/Linux shell right on your windows desktop? It is very easy to get it working, just install Cygwin. Cygwin is a Linux-like environment for Windows. It enables you to have most powerful Linux commands and shell programs like bash shell, vim editor, grep, OpenSSH server & client and much more.
After installing Cygwin it will put an icon on your desktop to run the shell. A small tip to access your hard drive partitions is found under the directory /cygdrive/ with every partition found with its name (c, d, …) .

Cygwin installation
If you wanted to add/remove programs you can use the setup file anytime.