Tuesday, September 30, 2008

Strange but Cool..Johan Lorbeer a German street performer

Johan Lorbeer is a German street performer. He became famous in the past few years because of his 'Still-Life' performances, which took place in the public area. His installations includes 'Proletarian Mural' and 'Tarzan', which are famous in Germany . Several of these performances feature Lorbeer in an apparently impossible position.


With his still-life performances, this German artist seems to unhinge the laws of gravity. For hours on time, he remains, as a living work of art, in physically impossible positions. Elevated or reduced to the state of a sculpture,
he interacts with the bewildered and irritated audience, whose appetite for communication rises as time goes by, often culminating in the wish to touch the artist in his superhuman, angelic appearance in order to participate in his abilities.

Wanna home here???

JUST IMAGINE WHICH PLACE IS THIS

WHETHER

DUBAI

MALAYASIA

SINGAPORE

USA

GERMANY

OR

ANY OTHER

?





Guess




Guess

'
'


'



'


'



IT IS SAHARA AMBY VALLEY

LOCATED IN LONAVALA NEAR PUNE, INDIA

Muhammad Name written in Wheat Field

Friday, August 22, 2008

CakePHP's Approach to the MVC Architecture

Readers who already know Ruby on Rails may find CakePHP very similar to it. For one thing, Cake is based on an MVC-like architecture that is both powerful and easy to grasp: controllers, models and views guarantee a strict but natural separation of business logic from data and presentation layers.

Controllers contain the logic 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.

Models are active representations of database tables: they can connect to your database, query it (if instructed to do so by a controller) and save data to the database. It is important to note that in order to correctly apply the MVC architecture, there must be no interaction between models and views: all the logic is handled by controllers.

Views can be described as template files that present their content to the user: variables, arrays and objects that are used in views are registered through a controller. 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 foreach construct, should be contained within a view.

This architecture can greatly improve the maintainability and the organization of your site's code:


It separates business logic from presentation and data retrieval.
A site is divided into logical sections, each governed by a particular controller.
When testing and debugging an application, any developer accustomed to CakePHP's structure will be able to locate and correct errors without knowing all of the details of the code.

Controllers, models and views are stored in pre-defined directories within CakePHP's directory structure. Here's the directory structure that's used:


app/
config/
controllers/
models/
plugins/
tmp/
vendors/
views/
webroot/
cake/
config/
docs/
libs/
vendors/

This directory scheme must be preserved, as it is essential if the framework itself is to work. Cake, like Rails, believes in the importance of convention over configuration: in order to deploy an application, rather than modify dozens of different configuration files, it's important only to place everything in its proper place; then, you can let the framework do the rest.

Although this may seem worrisome for some developers, it's a good compromise that can really accelerate the development process.

Monday, August 11, 2008

Thursday, June 26, 2008

Mum's Love

A very beautiful message for all. Click on picture to view.

Sunday, June 8, 2008

A DIFFICULT JUDGMENT

In a small town, a person decided to open up his Bar business, which was right opposite to a Temple. The Temple & its congregation started a campaign to block the Bar from opening with petitions and prayed daily against his business.

Work progressed. However, when it was almost complete and was about to open a few days later, a strong lightning struck the Bar and it was burnt to the ground.

The temple folks were rather smug in their outlook after that, till the Bar owner sued the Temple authorities on the grounds that the Temple through its congregation & prayers was ultimately responsible for the demise of his bar shop, either through direct or indirect actions or means.

In its reply to the court, the temple vehemently denied all responsibility or any connection that their prayers were reasons to the bar shop's demise. As the case made its way into court, the judge looked over the paperwork at the hearing and commented:

'I don't know how I'm going to decide this case, but it appears from the paperwork, we have a bar owner who believes in the power of prayer and we have an entire temple and its devotees that doesn't.'

Pakistani Lawyers

I don't feel shy to share this with you. Its lawyer of our Country whose name is Islamic Republic of Pakistan.