I've been working on PHP applications for the last four years. PHP is really easy to write. But PHP also has some very serious flaws.
Below I will give my reasons why PHP is not suitable for larger sites than small amateur websites.
1. Bad support
Template This is a more useful template, than smarty,fasttemplate and phplib template are easy to use
Chinese Text Archive Http://www.cqlc.net/cn_cqlctpl.txt
Here is the demo address: http://www.cqlc.net/web/tml.php
Please respect the author's
In order to find a good template engine, I search on the internet, has now sorted out the following list:
SmartySmarty is characterized by compiling the template into a PHP script and then executing the scripts. Very quickly, very flexible.
Heyes
User Original PHP template class
the following is the PHP source code:Class Lightpage_template {var $Tpl _header;var $Tpl _footer;var $Tpl _parsing;var $Tpl _template;var $Tpl _dirname;var $Tpl _parse_string;var $Tpl _parse_array;var
When you are building a site, you may have to face the following realities:
The site requires a programmer to design the program and a web designer to organize the page. So, is there a way to combine the two well?
Yes, the use of templates
Using PHP template classes for programming is good, but sometimes there will be a problem, such as output a table, but the number of table rows to run when you know, such as message board, BBS, shopping websites and so on, often encounter this
pagination | templates | page
------------------------------------------------This article is written mainly on the "use of templates",But this method is suitable for any occasion, in any case is a better solution-------------------------------------
Posted by Shiningray on April 3rd, 2006
Edwin Martin .
Translation: Shiningray @ Nirvana Studio
I've been working on PHP applications for the last four years. PHP is really easy to write. But PHP also has some very serious flaws.
Below I will give
Recent design patterns are popular, MVC is ubiquitous, PHP is no exception, and many forums are beginning to discuss using MVC in PHP. However, how exactly should M, V, c be implemented in PHP? is MVC really good for PHP? Here easy to give some of
This article mainly introduced the PHP5.2 under the Preg_replace function question, needs the friend may refer to under
Preg_replace uses more than the php5.2 default allowed Byte, which is the size of the Pcre.backtrack_limit and
Repeat if you are designing an interactive website, you will certainly focus on two major issues, namely art and programs. This is also a Web site in the construction of its content after the most critical elements. There are usually two ways to
index.htm File Contents:
The following are the referenced contents:{sortlist}index.php content:?$t->set_file ("Index", "index.htm");$t->set_block ("Index", "Rowsort", "Rowssort");................................................. $list
One recent job was to restructure the http://www.jobui.com and recruit http://www.baicai.com and find a very fast PHP template engine: Blitz templates. By the way, it took 1 days to translate its documents and hope to be useful to everyone!
A lot of PHP programmers, especially learning is not a long time, do not know the essence of PHP. How did Perl become famous in the business world? Its powerful regular expression. And what about PHP? He is a language developed from under UNIX, and
Code separation people who use PHP to program have this problem: when PHP code and HTML code together, see the PHP code is laborious, the entire file can not use Dreamweaver to edit, this for PHP programmers and artists, modify such a file is like a
1. PHP (&fastm) to cut the document into a simple DOM structure
PHP templates are designed to be very beautiful, using the begin and end of the annotation to cut the HTML (WML, or any XML) pages into different blocks, and the blocks can continue to
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.