Windows 7

Windows 7 which is the working name of Microsoft’s next Major window release is scheduled to be released some time late 2009 or early 2010. Windows 7 user interface was demonstrated for the first time at the D6 conference. Graphically it looks great .Far better than Vista. Here are some screen shots of the UI from d6 Conference.

 

CakePHP

CakePHP is a rapid and quick development framework (just like ruby) that helps in quick development and deployment of an application. It follows common design patterns like MVC.

Structure
CakePHP follow MVC architecture so there are three basic layers in CakePHP.

Controllers
A controller is used to manage the logic for a part of your application. Each controller can offer different functionality; controllers retrieve and modify data by accessing database tables through models; and they register variables and objects, which can be used in views. Controller can use different Components to implement the logic.

Models
Models represent data and are used in CakePHP applications for data access. A model usually represents a database table but can be used to access anything that stores data.They can connect to your database, query it (if instructed to do so by a controller) and save data to the database.

Views
The view layer of CakePHP is how you speak to your users. Views should not contain complex business logic; only the elementary control structures necessary to perform particular operations, such as the iteration of collected data through a for each construct, should be contained within a view.

Deployment and Baking
CakePHP comes with baking feature which greatly reduces development time for simple crud based applications>All you have to do is Create a database and Cake will do the rest for you with all the logic and views with links automatically created.

You can follow the examples on Cake Official Website to get started.
If you are already familiar with ruby and MVC architecture getting started on CakePHP would be extremely easy.
For full details about CakePHP visit official site for further details.

Dilemma faced by Pakistani Government

Just few days back Pakistan armed forces started there latest offensive against Taliban with aim to push them back away from the provisional capital of Peshawar.

Pakistan armed forces and government are facing a tough dilemma here. Though how hard they try things keep on getting worse and worse. If government reaches a truce or pact with Taliban and Islamic extremists the American lobby starts shouting and every terrorist act in Afghanistan is blamed on Pakistan side of the border. If government goes on offensive against the extremists like Baitullah Mehsud or Mangal Bagh the internal opposition to government increases with increase in extremism and support for people like Baitullah Mehsud or Mangal Bagh in frontier and also a series of suicide bomb blasts across the whole country.

And all the time the American media and watch dogs keep on shouting about the failure of Pakistani armed forces and there inability to protect the borders where the fact of the matter is that it is the failure of American and Nato armed forces that allowed all these extremist and Taliban to cross over into Pakistan which has made situation inside Pakistan extremely fragile.

One must understand that these extremists fight a Gorilla tactic war and if the whole American and Nato armed forces with highly sophisticated technology could not contain the extremist elements in Iraq and Afghanistan then they should think twice before pointing fingers against the Pakistan Army.

This post is a reaction to the article “Pakistan: Negligent on Terror?” , published in TIME on 30th June.