Learn PHP 7: Object Oriented Modular Programming using HTML5, CSS3, JavaScript, XML, JSON, and MySQL

Steve Prettyman

  • 出版商: Apress
  • 出版日期: 2015-12-26
  • 售價: $2,010
  • 貴賓價: 9.5$1,910
  • 語言: 英文
  • 頁數: 316
  • 裝訂: Paperback
  • ISBN: 1484217292
  • ISBN-13: 9781484217290
  • 相關分類: CSSHTMLJavaScriptMySQLPHPR 語言SQLXML
  • 無法訂購

相關主題

商品描述

This new book on PHP 7 introduces writing solid, secure, object-oriented code in the new PHP 7: you will create a complete three-tier application using a natural process of building and testing modules within each tier. This practical approach teaches you about app development and introduces PHP features when they are actually needed rather than providing you with abstract theory and contrived examples.


In Learn PHP 7, programming examples take advantage of the newest PHP features, including enhanced password encryption using password_hash. This book takes a learn-by-doing approach, providing you with complete coding examples.


"Do It" exercises in each chapter provide the opportunity to make adjustments to the example code. The end of chapter programming exercises allow you to develop your own applications using the algorithms demonstrated in the chapter. Each tier is logically and physically separated using object-oriented and dependency injection techniques, thus allowing independent tiers that can be updated with little or no effect on the other tiers. In addition to teaching good programming practices through OOP, there is a strong emphasis on creating secure code. As each chapter is completed, the reader is provide the opportunity to design and create an application reinforcing the concepts learned.


商品描述(中文翻譯)

這本關於 PHP 7 的新書介紹了如何在新的 PHP 7 中撰寫堅固、安全、面向對象的代碼:您將使用自然的建立和測試每個層級內的模塊的過程來創建一個完整的三層應用程序。這種實用的方法在實際需要時介紹 PHP 功能,而不是提供抽象的理論和人為的示例。

在《學習 PHP 7》中,編程示例充分利用了最新的 PHP 功能,包括使用 password_hash 進行增強的密碼加密。本書採用了一種學以致用的方法,為您提供完整的編程示例。

每章的「實踐」練習提供了對示例代碼進行調整的機會。章末的編程練習使您能夠使用該章節中演示的算法開發自己的應用程序。每個層級都使用面向對象和依賴注入技術在邏輯上和物理上分離,從而實現可以獨立更新而對其他層級幾乎沒有影響的層級。除了通過面向對象編程教授良好的編程實踐外,還非常強調創建安全代碼。在完成每章時,讀者有機會設計和創建一個應用程序,以鞏固所學的概念。