languages) and Zend (PHP).
B. “Don’t repeat yourself “ principle
“Don’t repeat yourself” principle is stated as "every piece of knowledge in a system should be expressed in just one place [5]. It is aimed at reducing repetition in software code, test plans, the build system, database schemas and documentation. This principle is implemented in frameworks through libraries aimed at solving the most common tasks, such as data validation, session and cookie management, file uploading, user authorization and authentication, etc.
C. “Convention over configuration” concept
Frameworks that follow "convention over configuration" concept are enforcing defaults in most aspects of application, e.g. class, method, variable, constant and database table names, file structure, coding style, etc.
Compliance with established conventions simplifies software development and code maintenance, especially when working in teams, as all team members follow the same rules. On the other hand, too strict enforcement of conventions threatens the flexibility of applications.
D. Architectural patterns
Architectural patterns are general reusable solutions to commonly occurring problems in software design. They offer well-established solutions to architectural problems, help to document the architectural design decisions and facilitate communication between developers through a common vocabulary [6].
Model-View-Controller pattern (Fig. 1) promotes separation of domain logic (controller), user interface (view) and data processing (model), as opposed to mixing HTML, SQL queries and domain logic in the source code (Fig. 2). In modern web application frameworks this pattern is usually implemented through folder structure. View files are responsible for showing data to the users of application. No programming logic or database queries can be run here, though data access may occur in these files. They are structured as HTML files and usually use a template language to present dynamic data, passed from the controller. Model files are responsible for fetching, modifying, inserting, and removing data from the database. Controller files calls and fetches data from the
languages) and Zend (PHP).B. “Don’t repeat yourself “ principle“Don’t repeat yourself” principle is stated as "every piece of knowledge in a system should be expressed in just one place [5]. It is aimed at reducing repetition in software code, test plans, the build system, database schemas and documentation. This principle is implemented in frameworks through libraries aimed at solving the most common tasks, such as data validation, session and cookie management, file uploading, user authorization and authentication, etc.C. “Convention over configuration” conceptFrameworks that follow "convention over configuration" concept are enforcing defaults in most aspects of application, e.g. class, method, variable, constant and database table names, file structure, coding style, etc.Compliance with established conventions simplifies software development and code maintenance, especially when working in teams, as all team members follow the same rules. On the other hand, too strict enforcement of conventions threatens the flexibility of applications.D. Architectural patternsArchitectural patterns are general reusable solutions to commonly occurring problems in software design. They offer well-established solutions to architectural problems, help to document the architectural design decisions and facilitate communication between developers through a common vocabulary [6].Model-View-Controller pattern (Fig. 1) promotes separation of domain logic (controller), user interface (view) and data processing (model), as opposed to mixing HTML, SQL queries and domain logic in the source code (Fig. 2). In modern web application frameworks this pattern is usually implemented through folder structure. View files are responsible for showing data to the users of application. No programming logic or database queries can be run here, though data access may occur in these files. They are structured as HTML files and usually use a template language to present dynamic data, passed from the controller. Model files are responsible for fetching, modifying, inserting, and removing data from the database. Controller files calls and fetches data from the
การแปล กรุณารอสักครู่..

ภาษา ) และ zend ( PHP )
" อย่าย้ำตัวเอง " หลักการ
" อย่าย้ำตัวเอง " หลักการระบุไว้ว่า " ทุกชิ้นของความรู้ในระบบควรจะแสดงในเพียงที่เดียว [ 5 ] มันมีวัตถุประสงค์เพื่อลดการซ้ำซ้อนในรหัสการทดสอบซอฟต์แวร์แผนสร้างระบบ , schemas ฐานข้อมูลและเอกสารหลักการนี้ถูกนำมาใช้ในในกรอบผ่านห้องสมุดที่มุ่งแก้ไขงานทั่วไปมากที่สุด เช่น การตรวจสอบข้อมูลและการจัดการเซสชันคุกกี้ไฟล์ในการอัพโหลด การอนุญาตผู้ใช้และรับรองความถูกต้อง ฯลฯ
C " การประชุมผ่านการปรับแต่ง " แนวคิด " ที่ตามกรอบอนุสัญญา
กว่าแนวคิดแบบ " การเริ่มต้นในด้านมากที่สุดของโปรแกรม เช่น คลาสตัวแปรแบบคงที่และตารางฐานข้อมูลชื่อโครงสร้างการเข้ารหัสรูปแบบไฟล์ ฯลฯ
ตามก่อตั้งการประชุมการพัฒนาซอฟต์แวร์และการบำรุงรักษาง่ายรหัส , โดยเฉพาะอย่างยิ่งเมื่อทำงานเป็นทีม เป็นทีม สมาชิกทุกคนปฏิบัติตามกฎเดียวกัน บนมืออื่น ๆที่บังคับใช้ที่เข้มงวดเกินไปของการประชุมคุกคามความยืดหยุ่นของการใช้งาน สถาปัตยกรรมรูปแบบ
dรูปแบบสถาปัตยกรรมเป็นทั่วไปสามารถแก้ไขปัญหาที่เกิดขึ้นโดยทั่วไปในการออกแบบซอฟต์แวร์ พวกเขาให้รู้จักการแก้ปัญหาทางสถาปัตยกรรมที่ช่วยให้เอกสารการตัดสินใจการออกแบบสถาปัตยกรรมและอำนวยความสะดวกในการสื่อสารระหว่างนักพัฒนาจากคำศัพท์ทั่วไป [ 6 ] .
แบบควบคุมแบบมุมมอง ( รูปที่ 1 ) ส่งเสริมการแยกของตรรกะโดเมน ( ควบคุม )ส่วนติดต่อผู้ใช้ ( วิว ) และการประมวลผลข้อมูล ( รูปแบบ ) , ตรงข้ามกับการผสม HTML , SQL แบบสอบถามและตรรกะ โดเมน ในรหัสแหล่งที่มา ( รูปที่ 2 ) ในกรอบโปรแกรมประยุกต์บนเว็บที่ทันสมัยรูปแบบนี้มักจะดำเนินการผ่านโครงสร้างโฟลเดอร์ ดูไฟล์มีความรับผิดชอบสำหรับแสดงข้อมูลให้กับผู้ใช้ของโปรแกรม ตรรกะการเขียนโปรแกรมหรือฐานข้อมูลแบบสอบถามสามารถใช้ที่นี่แม้ว่าการเข้าถึงข้อมูลที่อาจเกิดขึ้นได้ในไฟล์เหล่านี้ พวกเขามีโครงสร้างเป็นแฟ้ม HTML และมักจะใช้แม่แบบภาษาที่จะนำเสนอข้อมูลแบบไดนามิกผ่านจากตัวควบคุม ไฟล์แบบมีความรับผิดชอบสำหรับการเรียก , การปรับเปลี่ยน , การแทรกและลบข้อมูลจากฐานข้อมูล ไฟล์ควบคุมการโทรและจะเรียกข้อมูลจาก
การแปล กรุณารอสักครู่..
