In fact, Zend do is just a super bull professional phper all the knowledge packaged into a package, for everyone to use. Of course, this phper habit does not necessarily meet your needs, just take the content you need.
After all these have seen, you can pick out some of the source code, do their own Zend framework applications, or specifically to do MVC Zend Framework.
- Zend_acl
The access control list implements the role's permissions model for a resource. Just a concept, I'm using the same permissions basically as the ACL, ACL in terms of authority and there is no innovation. And you need to extend the ACL to write a lot more code. It's better to write yourself.
- Zend_auth
Verification, only responsible for authentication, the legendary HTTP authentication and support OpenID. It's just a legend to me ... Verification is to compare yes or no, then operate separately.
- Zend_cache
Cache. This is useful, at least to teach us one of the simplest caching methods, a pair of if else, a cache, read cache, no cached read data inventory cache. Zend_cache has three main features, which is to let you use Zend_cache without the other three advantages of the cache. 1 Identity cache record uniqueness, the province has done itself. 2 life cycle, also province self-made. 3 Conditional execution ... In fact, Zend_cache most worthy of our study is to separate the front and back end, these two are responsible for different things, the backend responsible for storage, the front-end responsible for parameters and so on. About the cache, basically the system has, the program has, the server has, even smarty have ...
- Zend_config
The legendary operation configuration, the operation of this configuration in PHP has been supported, and do a good job. The best in config is the XML format that can be read ... In fact, what can be read and the XML configuration is what the format is Zend provisions. I looked at the configuration of their most commonly used db. That structure is not an ordinary configuration file. More layers. More rules. Maybe it will be clearer.
- Zend_console_getopt
Help the command-line program resolve their options and parameters. This is a copy of the sentence. It does not really have anything to do with the development of reality, has anyone ever used it? I heard that I can explain this sentence (RM *-fr), but what to do??? Explain what it does???
- Zend_controller
This is one of the most critical parts of Zend, one of the most core content that makes Phper feel Zend one of the available parts, one of the Trans-era PHP artifacts. There are too many things. Note: Nowamagiccontroller::blogmmmyyyaction () is such a bkjia/blog-mmm-yyy in the URL, or the middle is used. Separated. So the proposal is written like this: Nowamagiccontroller::blogmmmyyyaction (). Of course there are many, many, many places to be aware of. Zend is a lot more standard.
- Zend_currency
This is the problem of dealing with money, that is, depending on the region, different currency formats are used. $1000 or¥1000.
- Zend_date
A typical Western-style date solution is the operation of date-based data.
- zend_db
Most projects must, since the combination of Zend to develop the project, it is necessary to look at the zend_db provided by the class is better than our good. ZEND_DB is using PDO, so be sure to open this extension ... Crap The second most frequently used class after controller Zend. Including the operation of the various database encapsulation, even select has a dedicated use of methods. You don't have to write the full SQL statement anymore? I'm only using a few of them anyway. Include connections. Inquire. Special INSERT, UPDATE, delete operation.
- Zend_debug
This is for debugging, simple debugging. Equivalent to the Echo $some; Of course it will output more detailed information.
- Zend_exception
Exception handling, Zend use of exceptions in the process. Have the interest to test the DB, you throw the game.
- Zend_feed
Web apps, the most important thing to see in the feed is RSS and Atom, which feels atom is a bit more modern, at least it looks better than RSS.
- Zend_filter
A variety of messy filtration. Check it out when you need it, and maybe you'll find that PHP's functions are easier to use than this thing. Just maybe.
- Zend_form
This thing seems to be prepared for the standard programmer, the so-called standard programmer is not to consider the interface, of course, the standard programmer must not be a good web programmer. No web programmer does not understand HTML. Oh. It's not very important to me, I don't know about the other people. Used to generate an HTML form.
- Zend_gdata
Gdata is the abbreviation for Google data, of course Google, but does not include the famous Gmail,search,map. This is just the Google data API. Interested in Google's API can be studied. I am not a Google fan ... is not Baidu fan.
- Zend_http
This part is my main research direction of PHP at present. Of course Zend did a lot of meaningful things. Zend_http like PHP's curl, feel no curl strong, but the operation of curl is a bit opaque, used to feel the right to do not know how to. This thing needs to be improved, too. For example, a class that detects HTTP can be developed on the basis of this thing. Oh. I like it better.
- Zend_infocard
The legendary personal identification information. It is only legendary and seldom applied.
- Zend_json
JavaScript Object Notation, this thing is responsible for the operation of JSON, is actually encoded decoding ... A look at JSON that interests you. I have no interest in ...
- Zend_layout
A view-related, implementation of the two-level views of things. This I am more accustomed to use Zend controller or shtml to solve. methods are different.
- Zend_loader
Dynamic loading, of course, is compared with static include. Can be loaded as needed. Of course, this is a vague concept, but it does save a lot of work. Very good code. Efficiency? hehe.
- Zend_locale
Internationalization, localization? It's an international thing. Who wants to know what Ma Yongjin translates into Italian? I can't use it anyway.
- Zend_log
A common log record. Much like the log inside the operating system is like the log in Apache. Kinda like I wrote the log ... Zend_log inside the best two concepts: 1 grade Error level notice level and so on, Zend divided 8 levels, 2 save Log,zend can put the log into the output, database, file. Of course, the most common thing we use is output to a file. Zend_log gave me a lot of inspiration. Used to improve my myz_log. Something very useful.
- Zend_mail
At the moment I'm using a PHP-written smtpmail class ... Of course Zend is also written by PHP ... If you just want to use mail, or think the original mail function is not good enough, it is recommended to look at Zend_mail.
- Zend_measure
For conversion, the simplest example is to turn the feet into meters. For a small temple like ours ... It doesn't work.
- Zend_memory
Memory management, uh. This is not a small story. Memory management at the program level. Don't know ... The underlying programmer may be concerned with this program-level memory management.
- Zend_mime
It is used for mime of the mail function and of course it can be used on its own.
- Zend_openid
Oh, OpenID. The thing that is very hot is to integrate all the accounts in the world, but the reality is that every vendor is unwilling to be integrated. All thinking about how to integrate others. So this thing is not developing very well.
- Zend_pdf
PDF a file format, Adobe's, is the most frequently used format for e-books. Zend was promoted to support the PDF operation, I think this thing is necessary to promote it? Is it the main function of Zend? It's too much of a fuss.
- Zend_registry
Put a thing (variable, array, class ...) Registering to the Global app is the write once use anywhere, and of course this anywhere refers to your entire project. Is the cost a little bit bigger? But it would be helpful if you used it a lot. Eliminate the need for each use of new class.
- Zend_rest
This is not a small story. Zend is a classic program all over the place. Rest is similar to XMLRPC and soap, and is one of the most current Web service, using seemingly no xmlrpc. There are no more soap. I also have a paper on the father of rest ... The legendary Zend.
- Zend_search_lucence
The text-based search engine, of course, adapted to that Lucence, is now starting to wonder if Zend is like dominating PHP. How to write everything ... Never tried.
- Zend_server
Provides support for other Zend classes. is a basic class. Of course, you can take it out for yourself. Maybe you can develop a better web service than rest on this thing ...
- Zend_service
On the Internet, in addition to Google's various services, why do you want to take the Google list out? Not good to achieve? Or Google is too powerful ... None of these I have ever used ... It's going to be used. Originally in Csdn saw a cow people with delicious in their own CSDN blog added related articles ... (I repeatedly requested CSDN, plus related articles, the results are not ... Dude, this guy is really fierce. Csdn can't give us that. We do it ourselves. No guns, no cannons, we made them ourselves. )
- Zend_session
This is a good thing, to provide the API to store sessions and provide sessions, of course, this is for cross-domain, cross-server preparation. Of course can also replace the traditional session_start () ... If you want to do this ...
- Zend_translate
Solved the language problem ... The other thing I'm happy about is seeing Zend using the. mo file. This MO file is a language pack in Drupal. Zend did a good job.
- Zend_uri
The class that validates the URL, which is also the base, is called by other Zend members. can also use their own.
- Zend_validate
The validator, preceded by a filter, is filtered. This is verified. The essence is the same. is to determine whether the rule is met, and then validate is to return to the wrong. Filter is to remove the non-conforming place directly. Of course, we all must have their own filters and validators. Take a good look at Zend, and then make your changes.
- Zend_version
This is the Zend source of the best read part of ... is the simplest. Suggest whether or not want to learn zend to look at ... So you can say this when you're bragging to someone: Zend. A few years ago I read its source code, write good ...
- Zend_view
A member of Zend MVC. can also count as one of the five Tiger Generals. But I have not been used in this ... I used the smarty as a replacement ... Feel a bit sorry zend,zend so many things, I only use a few ... Hey... But Zend_view's helper is good. Instead of handwriting, you can generate a variety of code that needs to be displayed on the view layer.
- Zend_xmlrpc
Web Service,xmlrpc is one of the simplest. Of course this class of Zend is also accomplished 80/20 missions. There are few people I want to use.
Zend is also quite consistent with the 2/8 theory, and 20% of the programs are often used. The rest is seldom used. But as a complete framework,zend is classic.
http://www.bkjia.com/PHPjc/752436.html www.bkjia.com true http://www.bkjia.com/PHPjc/752436.html techarticle In fact, Zend do is just a super bull professional phper all the knowledge packaged into a package, for everyone to use. Of course, this phper habit does not necessarily meet your needs, just take ...