Tag Archives: programming

Correct your amiss understanding about Object o. Programming vs Procedural Programming.

I read this blog post while i was running on hacker news. It shows that lots of engineer have wrong understanding about OOP and PP. In addition, while students are learning how to program in OOP way they are just writint classes and because of that they are thinking that writing object oriented code. I strongly advice you to read that blog to see what I say.


PHP MVC Frameworks

Zend Framework is a good foundation for everything and can be used also as just a library of various functions.  It is also the closest thing to be  an "official" PHP framework so there are a lot of developers who know how to use it.  It is, however, not a framework you would use to prototype something very quickly.

There are several frameworks that could be used as a quick RAD (Rapid Application Development) tools.

A good example is CakePHP, which is a very popular framework.  Fairly easy to learn.  It has a lot of sensible defaults and naming conventions that make your life much easier, but which you can override. Continue reading PHP MVC Frameworks


What is asynchronous Programming?

Thread Execution
Normal Thread Execution






asynchtomous execution
asynchtomous execution

Start with the comparison (that assumes you know normal threaded execution).

Two main difference between normal threaded system and asynchronous system are:

  • For threaded execution each thread has its own controller, however for asynchronous system there is only one thread controller.
  • Threaded execution does not give the control of ending, starting, changing to user. It is mainly controlled by the operating system internals. On the other side asynchronous execution need some explicit command to interleave one execution to other. It is more in control in the programmer's perspective.

Continue reading What is asynchronous Programming?