Today we are going to discuss a very popular database encapsulation wrapper framework ( used to be known as O bject R elational M apping ). This has been evolved on Apr 2006, and name was zYne-. Finally Doctrine released with its own name and with 1.0.0 stable release on Sep 1, 2008. Now what is Doctrine, if we want to discuss on it, below are the best points to describe it: It's an Object Relational Mapper framework Persistence and transnational property of an entity object in PHP is quite transparent Using this framework the database layer can be completely isolated. It uses a Data mapper pattern , so the actual business logic is completely isolated from Database entities persistence The implementation is done by a specific Query Language ( D octrine Q uery L anguage), which similar to SQL but some object oriented idiom is in it Install doctrine to your project: You need doctrine/orm and doctrine/doctrine-bundle and those be installed via below composer commands compo
Layered architecture of a modern web application discussed nowadays, in any framework Throughout my entire career, I have searched for the word design and architecture, and I am talking about Application Design in Software Development. Today I am going to discuss one same thing with you. When design a web applications solution architecture, the aspects are commonly Performance, Scalability, Cost effective and Robust. Now performance and scalability comes with layers in an application. A web application serving a particular requirement. And a specific feature which you can break down from the requirement, obviously asks for a feature, and that is scalability. Think about a shopping cart feature, and it requires to be scalable in terms of number of end users interreacting at any specific time. We generally think about how the feature can be scalable enough and then comes the obvious factor which is layers. A layer can be a hosting solution, a framework, a third party solution like sen