I've never written any logically before, and I've recently read PHP and want to write a message boards.
Most of the web found is PO (face to the process) rules, and some also embedded in a large number of font=12 of the old form of the sentence, see very difficult to.
Now I'm looking for an oo (face -to-eye) rule, looking on GitHub, seemingly not finding anything good, and I can't seem to find what's good right now.
I am now stuck in the concept of PHP, to write a message board, it is necessary to allocate a good config,router on the index, similar to the small MVC framework, and then each message becomes an object, created with class, and then the class has curd method ... is actually blurred.
So I would like to invite you to recommend one, do a reference.
Reply content:
I've never written any logically before, and I've recently read PHP and want to write a message boards.
Most of the web found is PO (face to the process) rules, and some also embedded in a large number of font=12 of the old form of the sentence, see very difficult to.
Now I'm looking for an oo (face -to-eye) rule, looking on GitHub, seemingly not finding anything good, and I can't seem to find what's good right now.
I am now stuck in the concept of PHP, to write a message board, it is necessary to allocate a good config,router on the index, similar to the small MVC framework, and then each message becomes an object, created with class, and then the class has curd method ... is actually blurred.
So I would like to invite you to recommend one, do a reference.
I think what you need is MVC. Oo is just a means of building a website program, not the structure of the website program itself. (In fact, the construction of MVC basically requires OO as the Language Foundation)
To learn MVC, it is not appropriate to open the internal logic of the framework. MVC is more of an idea than a way of realizing it. It is a good idea to use the molded frame to eliminate the distractions of the implementation details.
(For example: it is hard to imagine that UNIX system calls are unfamiliar, read the Linux source.) This is a meaning. )
Believe me, wait until the idea of the MVC framework is in the heart, and then write things independently, how to write how to go to the direction of MVC.
In addition, I used to be one of the defenders of the red and white machine fan station fchome(about 2003-2010). If you do the red and white machine related sites, I would like to communicate more. Welcome to contact us.