Zend Framework Various Libraries Introduction _php tutorial

Source: Internet
Author: User
Tags http authentication soap openid zend framework
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.

  1. Zend_acl
  2. 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.

  3. Zend_auth
  4. 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.

  5. Zend_cache
  6. 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 ...

  7. Zend_config
  8. 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.

  9. Zend_console_getopt
  10. 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???

  11. Zend_controller
  12. 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.

  13. Zend_currency
  14. This is the problem of dealing with money, that is, depending on the region, different currency formats are used. $1000 or¥1000.

  15. Zend_date
  16. A typical Western-style date solution is the operation of date-based data.

  17. zend_db
  18. 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.

  19. Zend_debug
  20. This is for debugging, simple debugging. Equivalent to the Echo $some; Of course it will output more detailed information.

  21. Zend_exception
  22. Exception handling, Zend use of exceptions in the process. Have the interest to test the DB, you throw the game.

  23. Zend_feed
  24. 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.

  25. Zend_filter
  26. 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.

  27. Zend_form
  28. 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.

  29. Zend_gdata
  30. 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.

  31. Zend_http
  32. 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.

  33. Zend_infocard
  34. The legendary personal identification information. It is only legendary and seldom applied.

  35. Zend_json
  36. 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 ...

  37. Zend_layout
  38. 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.

  39. Zend_loader
  40. 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.

  41. Zend_locale
  42. Internationalization, localization? It's an international thing. Who wants to know what Ma Yongjin translates into Italian? I can't use it anyway.

  43. Zend_log
  44. 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.

  45. Zend_mail
  46. 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.

  47. Zend_measure
  48. For conversion, the simplest example is to turn the feet into meters. For a small temple like ours ... It doesn't work.

  49. Zend_memory
  50. 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.

  51. Zend_mime
  52. It is used for mime of the mail function and of course it can be used on its own.

  53. Zend_openid
  54. 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.

  55. Zend_pdf
  56. 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.

  57. Zend_registry
  58. 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.

  59. Zend_rest
  60. 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.

  61. Zend_search_lucence
  62. 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.

  63. Zend_server
  64. 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 ...

  65. Zend_service
  66. 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. )

  67. Zend_session
  68. 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 ...

  69. Zend_translate
  70. 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.

  71. Zend_uri
  72. The class that validates the URL, which is also the base, is called by other Zend members. can also use their own.

  73. Zend_validate
  74. 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.

  75. Zend_version
  76. 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 ...

  77. Zend_view
  78. 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.

  79. Zend_xmlrpc
  80. 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 ...

  • Contact Us

    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.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.