Model View Controller (MVC) is becoming the definitive architecture of website development frameworks due to the stability, extensibility and predictability it lends to development. It is not just the primary separation of database, business logic and interface components, but includes a wide range of considerations for building high-performing, scalable and secure applications. Deciding which MVC framework best suits the project you are about to begin is one of the biggest challenges you'll face as a developer. If you are part of a team, this decision has probably already been made for you; but in any event, you'll need to know how (and why) the framework authors made it work the way it does. Pro PHP MVC looks at the building blocks that make any good MVC framework, and how they apply to PHP. It exposes all considerations that many developers take for granted when using a popular framework, and teaches you how to make the framework your own. Over the course of reading this book, you will learn the theoretical implications of the choices you would make when writing your own MVC framework, and how to put the pieces together in a cohesive package. We take a look at the highly modular Zend Framework―how to use its collection of loosely coupled classes to build a unified system. We also look at CakePHP, learning from its automated build system (Bakery) and highly intuitive approach to rapid development. This book will lay bare all the secret parts of MVC for you.
کتاب خوبی برای آشنایی با یه مدل خاص از معماری امویسی با زبون پی اچ پی ! کتاب زبون روان و سادهای داره - شاید من هفت هشت بار بیشتر به دیکشنری مراجعه نکردم - کتاب با مثل نوشتن فریمورک برای یه شبکه اجتماعی شروع میشه و تا ته همین روشو دنبال میکنه - کدها با دقت نوشته شده - توضیحات اضافی داره اما باز خوبه ! اما تنها مشکلی که داره گاهی اوقات یه توابعی به کار میبره که منسوخ شدن یا خودشون عوض شدن ! البته به خاطر اینکه باو برای پیاچپی 5 نوشته شده و کتابی که من خوندم متعلق به 2010 بود - نمیدونم ویرایش جدید بیرون اومده یا نه
براي آشنايي با مفاهيم MVC خوب است. كار را با نوشتن يك فريم ورك بر اساس مفاهيم ارائه شده پيش برده كه به نظرم مطلب را بيش از حد زياد كرده است. فصول آخر كه به مقايسه سه فريم ورك ديگر مي پردازد به نظر من چندان كاربردي نيست زيرا اولا اين فريم وركها دائما در حال بروزآوري هستند و نسخه هاي جاري آنها با آنچه در كتاب گفته شده تفاوتهايي دارد و ثانيا مطالعه كاربرد و امكانات يك فريم ورك از روي مستندات سايت آن سريعتر و مفيدتر است. اين كتاب را براي بخش مفاهيم MVC آن مطالعه كنيد.