Beginning CakePHP

Programmers have used frameworks for years, though for web development the use of frameworks has been more recent. Probably the main advantage of using a framework in any project, be it web-related or not, is explained by the concept of “inversion of control.” Many programs operate in such a way...

Mô tả đầy đủ

Đã lưu trong:
Chi tiết về thư mục
Tác giả chính: Golding, David
Định dạng: Sách
Ngôn ngữ:English
Được phát hành: Apress 2012
Những chủ đề:
Truy cập trực tuyến:http://scholar.dlu.edu.vn/thuvienso/handle/DLU123456789/30684
Các nhãn: Thêm thẻ
Không có thẻ, Là người đầu tiên thẻ bản ghi này!
Thư viện lưu trữ: Thư viện Trường Đại học Đà Lạt
id oai:scholar.dlu.edu.vn:DLU123456789-30684
record_format dspace
spelling oai:scholar.dlu.edu.vn:DLU123456789-306842014-01-20T06:47:23Z Beginning CakePHP Golding, David Technologies Programmers have used frameworks for years, though for web development the use of frameworks has been more recent. Probably the main advantage of using a framework in any project, be it web-related or not, is explained by the concept of “inversion of control.” Many programs operate in such a way that the code is in control. In other words, the code decides when one operation should appear, how it should handle the user’s response, and so forth. Imagine if this order of control were inverted. Rather than have a script or library that contains a series of operations, the program has a series of objects that can do nothing until you extend them (even though they may contain tons of tools you could put to use). In this way, the framework calls on you, not the other way around. For example, let’s say you are looking for a way to install a voting program into your web site. You browse the Internet and find a handful of useful PHP scripts that all promise to do that for you. After plugging in some unique settings, you place one of these scripts onto your server and launch the program. The program runs just fine, but if you wanted to change anything, you would have to go into the script, locate where the operation occurs that you want to change, and work the adjustment by hand. The script manages the flow of control in the sense that all of its operations are executed when the program runs, and if you want to control the program, you have to alter the script. 2012-05-30T03:24:00Z 2012-05-30T03:24:00Z 2008 Book 978-1-4302-0978-2 http://scholar.dlu.edu.vn/thuvienso/handle/DLU123456789/30684 en application/pdf Apress
institution Thư viện Trường Đại học Đà Lạt
collection Thư viện số
language English
topic Technologies
spellingShingle Technologies
Golding, David
Beginning CakePHP
description Programmers have used frameworks for years, though for web development the use of frameworks has been more recent. Probably the main advantage of using a framework in any project, be it web-related or not, is explained by the concept of “inversion of control.” Many programs operate in such a way that the code is in control. In other words, the code decides when one operation should appear, how it should handle the user’s response, and so forth. Imagine if this order of control were inverted. Rather than have a script or library that contains a series of operations, the program has a series of objects that can do nothing until you extend them (even though they may contain tons of tools you could put to use). In this way, the framework calls on you, not the other way around. For example, let’s say you are looking for a way to install a voting program into your web site. You browse the Internet and find a handful of useful PHP scripts that all promise to do that for you. After plugging in some unique settings, you place one of these scripts onto your server and launch the program. The program runs just fine, but if you wanted to change anything, you would have to go into the script, locate where the operation occurs that you want to change, and work the adjustment by hand. The script manages the flow of control in the sense that all of its operations are executed when the program runs, and if you want to control the program, you have to alter the script.
format Book
author Golding, David
author_facet Golding, David
author_sort Golding, David
title Beginning CakePHP
title_short Beginning CakePHP
title_full Beginning CakePHP
title_fullStr Beginning CakePHP
title_full_unstemmed Beginning CakePHP
title_sort beginning cakephp
publisher Apress
publishDate 2012
url http://scholar.dlu.edu.vn/thuvienso/handle/DLU123456789/30684
_version_ 1757654136143216640