購物比價找書網找車網
FindBook  
 有 1 項符合

Modernizing Legacy Applications in PHP

的圖書
Modernizing Legacy Applications in PHP Modernizing Legacy Applications in PHP

作者:Paul M. Jones 
出版社:Packt Publishing
出版日期:2016-09-09
語言:英文   
圖書選購
型式價格供應商所屬目錄
電子書
$ 0
樂天KOBO 樂天KOBO
電腦
圖書介紹 - 資料來源:樂天KOBO   評分:
圖書名稱:Modernizing Legacy Applications in PHP

Get your code under control in a series of small, specific steps

About This Book

  • Learn to extract and replace legacy artifacts,
  • Improve your application from the ground up while keeping your codebase fully operational,
  • Improve the quality of your legacy applications.

Who This Book Is For

PHP developers from all skill levels will be able to get value from this book and will be able to transform their spaghetti code applications to clean, modular applications. If you are in the midst of a legacy refactor or you find yourself in a state of despair caused by the code you have inherited, this is the book for you. All you need is to have PHP 5.0 installed, and you're all set to change the way you maintain and deploy your code!

What You Will Learn

  • Replace global and new with dependency injection
  • Extract SQL statements to gateways
  • Convert action logic to controllers
  • Remove repeated logic in page scripts
  • Create maintainable PHP code from crufty legacy PHP

In Detail

Have you noticed that your legacy PHP application is composed of page scripts placed directly in the document root of the web server? Or, do your page scripts, along with any other classes and functions, combine the concerns of model, view, and controller into the same scope? Is the majority of the logical flow incorporated as include files and global functions rather than class methods? Working with such a legacy application feels like dragging your feet through mud, doesn't it?This book will show you how to modernize your application in terms of practice and technique, rather than in terms of using tools like frameworks and libraries, by extracting and replacing its legacy artifacts. We will use a step-by-step approach, moving slowly and methodically, to improve your application from the ground up. We'll show you how dependency injection can replace both the new and global dependencies. We'll also show you how to change the presentation logic to view files and the action logic to a controller. Moreover, we'll keep your application running the whole time. Each completed step in the process will keep your codebase fully operational with higher quality. When we are done, you will be able to breeze through your code like the wind. Your code will be autoloaded, dependency-injected, unit-tested, layer-separated, and front-controlled. Most of the very limited code we will add to your application is specific to this book. We will be improving ourselves as programmers, as well as improving the quality of our legacy application.

Style and approach

This book gives developers an easy-to-follow, practical and powerful process to bring their applications up to a modern baseline. Each step in the book is practical, self-contained and moves you closer to the end goal you seek: maintainable code. As you follow the exercises in the book, the author almost anticipates your questions and you will have the answers, ready to be implemented on your project.

贊助商廣告
 
 
Taaze 讀冊生活 - 暢銷排行榜
你願意,人生就會值得:蔡康永的情商課3
作者:蔡康永
出版社:如何出版
出版日期:2024-08-01
$ 316 
金石堂 - 暢銷排行榜
世界上最透明的故事(日本出版界話題作,只有紙本書可以體驗的感動)
作者:杉井光
出版社:皇冠文化出版有限公司
出版日期:2024-09-30
$ 284 
Taaze 讀冊生活 - 暢銷排行榜
底層邏輯:看清這個世界的底牌
作者:劉潤
出版社:時報文化出版企業股份有限公司
出版日期:2022-03-29
$ 316 
博客來 - 暢銷排行榜
在紙船中入眠(下)
作者:八田てき
出版社:尖端
出版日期:2024-12-10
$ 204 
 
金石堂 - 新書排行榜
小書痴的下剋上:為了成為圖書管理員不擇手段!【第五部】女神的化身(XI)
作者:香月美夜
出版社:皇冠文化出版有限公司
出版日期:2024-12-09
$ 253 
Taaze 讀冊生活 - 新書排行榜
社區發展季刊188期(2024/12)-創傷知情與社會工作
作者:衛生福利部社區發展雜誌社
出版社:衛生福利部社會及家庭署
出版日期:2024-12-15
$ 150 
Taaze 讀冊生活 - 新書排行榜
寫作的靈現:AI時代寫手的修煉與想像力
作者:楊憲宏
出版社:時報文化出版企業股份有限公司
出版日期:2024-12-17
$ 252 
金石堂 - 新書排行榜
正太哥哥 (首刷限定版) 05
作者:中山幸
出版社:東立出版社
出版日期:2024-11-27
$ 187 
 

©2024 FindBook.com.tw -  購物比價  找書網  找車網  服務條款  隱私權政策