Have you wondered if a single function call would be sufficient to output the array in pre-formatted way. I have been working with opencart for some months and I realize how repititive is it to repeat same lines of code to make array look nice. By the way, I am a big fan of CakePHP framework and its powerful debugging technique.
Saturday, January 12, 2013
Friday, January 11, 2013
Interestingly, vQmod was originally developed for Open Cart ! But due to "openess" of the design, it has been used by other systems too.
In OpenCart (OC), extending your site's features usually results in modifying the program core codes. There are many reasons why this practise in not favorable - a major one is that it is not easily reversible. Say when you modified some codes and wanted to reinstate the original for some reason, it can be quite tedious.
Have you ever thought of modifying the core of any framework? Then vQMod is the best way to do it.
"vQmod™" (aka Virtual Quick Mod) is an override system designed to avoid having to change core files. The concept is quite simple... Instead of making changes to the core files directly, the changes are created as xml search/replace script files. These script files are parsed during page load as each "source" core file is loaded with the "include" or "require" php functions. The source is then patched with the script file changes, and saved to a temp file. That temp file is then substituted for the original during execution. The original source file is never altered. This results in a "virtual" change to the core during execution without any actual modification to the core files.
Friday, January 4, 2013
What is API ?
- API ( Application Programming Interface )
- Protocol intended to be used as an interface by software components to communicate with each other
- A set of routines, protocols, and tools for building software applications.
- A good API makes it easier to develop a program by providing all the building blocks.
Tuesday, August 7, 2012
The concept of the Game of Life is very simple. The game takes place over the cells in an array, like squares on a chessboard. Each cell can have an organism living inside it or not living inside it; or each cell itself can be alive or dead. Whatever frame of thought is used, each cell is described to be "on" or "off." At the beginning of the game, a certain number of cells are filled.
Wednesday, August 1, 2012
Windows 7 doesn’t provide access to telnet client in default. More than likely this was an attempt to make Windows more secure by default, as Telnet is very insecure and whenever you have the choice you should always use SSH. However, with that being said, you can quickly re-enable Telnet by following these steps:
Wednesday, July 11, 2012
Friday, July 6, 2012
Thursday, June 28, 2012
There are lots of ways of generating random strings in SQL Server. But instead of spending much time on finding solution to random password generation, here is an easy way to do that.
Cursors are great way to loop through records in SQL specialy when you need to deal with individual records from certain table.
Here is a example using cursor;