PHP学习MVC解决办法
PHP学习MVC
除了看模版的源代码(像Joomla,Smarty),还有什么讲MVC比较好的书籍吗??最好是对思想将的比较不错的。谢谢!
------解决方案--------------------
很简单的,看看视频吧,网上有的
------解决方案--------------------
MVC关键是在思想,而不在用什么
我建议是先学习面向对象再学习架构
点线面,应该一步步来,不是说知道坐标就能学立体几何的
不过不排除你有超强的理解能力,呵呵

------解决方案--------------------
看些国内常用的框架,如thinkphp、yii、cakephp,多了解下这些框架的MVC都是怎么实现的,对提高理论知识,和熟悉业务都有好处的
------解决方案--------------------
http://amysql.com/AMP/doc.htm
------解决方案--------------------
去看那些开源框架代码,仔细思考那样设计的好处。
然后自己在构建系统架构时,也尝试那样去设计。并且之后要多修改几次,每次修改你都会有很多体会。

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

AI Hentai Generator
Generate AI Hentai for free.

Hot Article

Hot Tools

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics

PHP 8.4 brings several new features, security improvements, and performance improvements with healthy amounts of feature deprecations and removals. This guide explains how to install PHP 8.4 or upgrade to PHP 8.4 on Ubuntu, Debian, or their derivati

To work with date and time in cakephp4, we are going to make use of the available FrozenTime class.

To work on file upload we are going to use the form helper. Here, is an example for file upload.

CakePHP is an open-source framework for PHP. It is intended to make developing, deploying and maintaining applications much easier. CakePHP is based on a MVC-like architecture that is both powerful and easy to grasp. Models, Views, and Controllers gu

Validator can be created by adding the following two lines in the controller.

Visual Studio Code, also known as VS Code, is a free source code editor — or integrated development environment (IDE) — available for all major operating systems. With a large collection of extensions for many programming languages, VS Code can be c

Working with database in CakePHP is very easy. We will understand the CRUD (Create, Read, Update, Delete) operations in this chapter.

Logging in CakePHP is a very easy task. You just have to use one function. You can log errors, exceptions, user activities, action taken by users, for any background process like cronjob. Logging data in CakePHP is easy. The log() function is provide
