Introduction to various Zend Framework Libraries

Source: Internet
Author: User
Tags http authentication openid zend framework

In fact, zend only packs all the knowledge of a super professional phper into a package for you to use. Of course, this phper habit does not necessarily meet your needs. Just take the required content.

After reading this, you can pick out some of the source code and create your own zend framework application or the zend framework dedicated to MVC.

  1. Zend_Acl
  2. Access control list is used to implement a role-to-resource permission model. It's just a concept. The permission method I'm using is basically the same as acl. acl is not innovative in terms of permissions. In addition, more code needs to be written to extend the acl. It is better to write it by yourself.

  3. Zend_Auth
  4. Verification is only responsible for verification. It is said that HTTP Authentication and support for openID are supported. For me, it's just a legend... The verification is to compare whether or not, and then perform the operations separately.

  5. Zend_Cache
  6. Cache. This is useful. At least we can use the simplest caching method: if else, cache, read cache, and read data inventory cache. Zend_cache has three major features: zend_cache does not have to be used. 1. Identify the uniqueness of the cache record, saving your efforts. 2. the lifecycle is also saved. 3. Conditional execution... In fact, zend_cache is the most worth learning: The frontend and backend are separated, which are responsible for different things, the backend is responsible for storage, and the frontend is responsible for parameters. About caching, there are basically systems, programs, servers, and even smarty...

  7. Zend_Config
  8. In the legend of the operation configuration, this configuration operation is already supported in PHP and does a good job. The best way in Config is to read the xml format... In fact, zend specifies what formats can be read and what xml configurations are. I have read their most common DB configurations. The structure is not a common configuration file. More layers. More rules. It may be clearer.

  9. Zend_Console_Getopt
  10. Help the command line program parse their options and parameters. This sentence is copied. It does have nothing to do with real development. Has anyone used it? I heard that I can explain this sentence (rm *-fr), but what will I do after that ??? What does it do ???

  11. Zend_Controller
  12. This is one of the most important parts. zend is one of the core contents and one of the most available parts of zend for PHPER. It is a cross-era php product. Too much content. Note: NowaMagicController: blogmmmyyyAction () indicates bkjia/blog-mmm-yyy in the URL, or is used in the middle. Separated. We recommend that you write it as follows: NowaMagicController: blogmmmyyyAction (). Of course there are a lot more to note. There are more zend specifications.

  13. Zend_Currency
  14. This is the problem of money processing, that is, using different currency formats according to different regions. $1000 or $1000.

  15. Zend_Date
  16. A typical western date solution is about date data operations.

  17. Zend_DB
  18. Most projects are required. Since zend is used in combination to develop projects, we need to see where zend_db provides better classes than ours. Zend_DB uses pdo, so you must enable this extension... Call. The second most frequently used class after zend of Controller. Including the encapsulation of various database operations, and select has a dedicated usage method. No longer need to write complete SQL statements? No. I am only using a small part of it. Including connections. Query. Special insert, update, and delete operations.

  19. Zend_Debug
  20. This is used for debugging and simple debugging. It is equivalent to echo $ some; of course, it will output more detailed information.

  21. Zend_Exception
  22. Exception Handling: exceptions during Zend usage. I'm happy to test the database and try it myself.

  23. Zend_Feed
  24. For Web applications, rss and atom are the most important items in Feed. It seems that atom is more modern, at least it looks better than rss.

  25. Zend_Filter
  26. Various messy filtering methods. If you need it, you may find it easier to use php functions. Just maybe.

  27. Zend_Form
  28. This seems to be prepared for standard programmers. The so-called standard programmers do not consider the interface at all. Of course, standard programmers must not be good web programmers. No web programmer understands html. Haha. It doesn't mean much to me. I don't know it to anyone else. Used to generate an html form.

  29. Zend_Gdata
  30. Gdata is the abbreviation of Google Data, which is of course google's stuff, but does not include the famous gmail, search, and map. This is just google data API. If you are interested in google APIs, you can study them. I'm not a GOOGLE fan... Not a baidu fan.

  31. Zend_Http
  32. This part is my current focus on php. Of course, zend has done a lot of meaningful things. Zend_http is very similar to php curl. It does not feel powerful, but the curl operation is a bit opaque and I don't know how to use it correctly. This item still needs to be improved. For example, you can develop a class for detecting http Based on this item. Haha. I like it.

  33. Zend_InfoCard
  34. The legendary personal identity authentication information. It's just a legend that has very few applications.

  35. Zend_Json
  36. JavaScript Object Notation, which is responsible for json operations, is actually encoding and decoding... Research on json. I'm not interested...

  37. Zend_Layout
  38. It is related to the view and implements the second-level view. I am more accustomed to using zend controller or shtml to solve this problem. Different methods.

  39. Zend_Loader
  40. Dynamic Loading, of course, is compared with static include. It can be loaded as needed. Of course this is a vague concept, but it does save a lot of work. Very good code. Efficiency? Haha.

  41. Zend_Locale
  42. Internationalization? Localization? Take it as an international thing. Who wants to know what Ma yongzhan translated into Italian? I cannot use it anyway.

  43. Zend_Log
  44. Common log records. Similar to the log in the operating system, it is also similar to the log in apache. A bit like the log I wrote... The two best concepts in Zend_log are: 1 level error level notice level, etc. zend is divided into 8 levels, 2 level logs are saved, and zend can put logs into output, database, and file. Of course, the most common method is to output data to a file. Zend_log has inspired me a lot. Used to improve my MyZ_log. Something useful.

  45. Zend_Mail
  46. Currently I am using a smtpMail class written in php... Of course, zend is also written in php... If you want to use mail, or think the original mail function is not good enough, we recommend that you check zend_mail.

  47. Zend_Measure
  48. For conversion, the simplest example is to convert feet to meters. For a temple like ours... Not enough...

  49. Zend_Memory
  50. Memory Management. This is not too small. Program-level memory management. Don't know... The underlying programmer may be concerned with program-level memory management.

  51. Zend_Mime
  52. It is mostly used for the mime of the mail function. Of course, you can also use it yourself.

  53. Zend_OpenID
  54. OpenID. It is a very popular thing to integrate all accounts in the world, but the reality is that every vendor is unwilling to be integrated. They all want to integrate with others. So this thing is not developing very well.

  55. Zend_Pdf
  56. Pdf is a file format that adobe uses most frequently. Zend was advertised to support the pdf operation. Do you need to publicize this item? Is it the main function of zend? That's a big question.

  57. Zend_Registry
  58. Put a thing (variable, array, Class ...) Register to a global application, that is, write once use anywhere. Of course, this anywhere refers to your entire project. Is the overhead higher? However, this will be helpful if you often use it. No new class is required for each use.

  59. Zend_Rest
  60. This is not too small. Classic programs are everywhere in zend. Rest is similar to xmlrpc and soap. It is the latest web service and does not seem to have many xmlrpc operations. There are no more soap. Legend has it that I have another paper by the father of rest... The legendary zend.

  61. Zend_Search_Lucence
  62. The text-based search engine, of course, is adapted to the Lucence. Now I am wondering if zend is like a dominant php. How to Write everything... No.

  63. Zend_Server
  64. Supports other zend classes. Is a base class. Of course, you can also use it by yourself. Maybe you can develop web services that are better than rest...

  65. Zend_Service
  66. In addition to google's various services on the Internet, why should we take out google tickets? Poor implementation? Or google is so powerful... I have never used these... Yes. At the beginning, I saw a cool man using delicious to add related articles on his own csdn blog... (I have repeatedly requested csdn and added relevant articles... This guy is really fierce. Csdn cannot provide us. We do it ourselves. We have no guns, no guns, and no guns .)

  67. Zend_Session
  68. This is a good thing. It provides session storage and session APIs. Of course, this is for cross-domain name and cross-server preparation. Of course, it can also replace the traditional session_start ()... If you want to do this...

  69. Zend_Translate
  70. Solved the language problem... I am most pleased to see that zend uses the. mo file. This mo file is a Language Pack in drupal. Zend does a good job.

  71. Zend_Uri
  72. Verifies the url class, which is also the basis and called by other zend members. You can also use it on your own.

  73. Zend_Validate
  74. The front filter is used for filtering. This is verified. The essence is the same. Is to determine whether the rule is met, and then validate is returned. Filters are used to remove non-conformities directly. Of course, we must all have our own filters and validators. Please refer to zend and modify it.

  75. Zend_Version
  76. This is the best part of zend's source code reading... Is the simplest. We recommend that you check whether you want to learn zend or not... In this way, we can say this when we are talking about people: zend. I have read its source code a few years ago and it is well written...

  77. Zend_View
  78. Zend MVC is a member of Zend MVC. It can also be regarded as one of the five tigers. But I am not used here... I used smarty as a replacement... I feel a little confused about zend. I only used a few zend items... Ah... However, zend_view's helper is quite good. It can replace handwriting to generate various codes that need to be displayed at the view layer.

  79. Zend_XmlRpc
  80. Web service and xmlrpc are the simplest one. Of course, this category of zend also fulfills the 80/20 mission. Few people I want to use.

Zend is also quite in line with the 2/8 theory, and 20% of programs are often used. There is very little left to use. But as a complete framework, zend is classic.

Related Article

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.