In fact, what zend does is package all the knowledge of a super professional PHPer into a package for everyone to use. Of course, this PHPer habit may not meet your needs, just get the content you need.
After reading all of these, you can pick out some of the source code and make your own zend framework application, or a zend framework that specializes in MVC.
- Zend_Acl
- Zend_Auth
- Zend_Cache
- Zend_Config
- Zend_Console_Getopt
- Zend_Controller
- Zend_Currency
- Zend_Date
- Zend_DB
- Zend_Debug
- Zend_Exception
- Zend_Feed
- Zend_Filter
- Zend_Form
- Zend_Gdata
- Zend_Http
- Zend_InfoCard
- Zend_Json
- Zend_Layout
- Zend_Loader
- Zend_Locale
- Zend_Log
- Zend_Mail
- Zend_Measure
- Zend_Memory
- Zend_Mime
- Zend_OpenID
- Zend_Pdf
- Zend_Registry
- Zend_Rest
- Zend_Search_Lucence
- Zend_Server
- Zend_Service
- Zend_Session
- Zend_Translate
- Zend_Uri
- Zend_Validate
- Zend_Version
- Zend_View
- Zend_XmlRpc
Access control list implements role permission model for resources. It's just a concept. The permission method I'm using is basically the same as acl. Acl has nothing innovative in terms of permissions. And you need to write more code to extend acl. It's better to write it yourself.
Verification, only responsible for verification. Legend has it that it has HTTP authentication and supports openID. It's just a legend to me... Verification is to compare yes or no, and then operate accordingly.
Cache. This is more useful. At least it teaches us the simplest caching method, a pair of if else, with cache, read cache, and without cache, read data inventory cache. zend_cache has three major features, which are three advantages that allow you to use zend_cache without using other caches. 1. Identify the uniqueness of the cache record. You can save yourself the trouble. 2 life cycle, you can save the money and do it yourself. 3 Conditional execution... In fact, the most worthwhile thing to learn about zend_cache is that it separates the front end and the back end. These two are responsible for different things. The back end is responsible for storage, the front end is responsible for parameters, etc. Regarding caching, it basically exists in the system, program, server, and even smarty...
The legendary operation configuration, the operation of this configuration is already supported in PHP, and it is done well. The best thing about Config is that it can read xml format... In fact, what can be read and what format of xml configuration is specified by zend. I looked at their most commonly used DB configurations. That structure is no ordinary configuration file. More layers. More rules. Maybe it will be clearer.
Helps command line programs parse their options and arguments. This sentence was copied. It really has nothing to do with actual development. Has anyone used it? I heard that you can explain this sentence (rm * -fr), but what do you do after explaining it??? Explain what it does???
This is one of the most critical parts, one of the core contents of zend, one of the parts that makes PHPER feel that zend is usable the most, and one of the php products across the ages. There is too much content. It should be noted that NowaMagicController::blogmmmyyyAction() in the URL is like bkjia/blog-mmm-yyy, or in the middle. separated. So it is recommended to write it like this: NowaMagicController::blogmmmyyyAction(). Of course, there are many, many, many places that need attention. zend has a lot of specifications.
This is about dealing with money issues, that is, using different currency formats according to different regions. $1000 or ¥1000.
The typical Western date solution is about the operation of date data.
It is necessary for most projects. Since zend is used to develop the project, it is necessary to take a look at how the classes provided by zend_db are better than ours. Zend_DB uses pdo, so be sure to turn on this extension...it's a waste of time. After Controller, zend is the second most frequently used class. Including various database operation packages, even select has special usage methods. No need to write complete sql statements anymore? Not good. Anyway, I only used a small part of it. Includes connections. Query. Special insert, update, and delete operations.
This is for debugging, simple debugging. Equivalent to echo $some; of course it will output more detailed information.
Exception handling, exceptions during the use of Zend. If you are interested in testing DB, you can play around with it yourself.
As for Web applications, the most important things to look at in the feed are RSS and Atom. I feel that Atom is more modern, at least it looks better than RSS.
All kinds of messy filters. Check it out when needed. Maybe you will find that PHP functions are more convenient to use than this thing. Just maybe.
This thing seems to be prepared for standard programmers. The so-called standard programmers do not consider the interface at all. Of course, a standard programmer is definitely not a good web programmer. No web programmer doesn't understand HTML. hehe. This doesn't mean much to me, and I don't know about others. Used to generate an html form.
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 the google data API. If you are interested in Google's API, you can research it. I am not a GOOGLE fan...nor a Baidu fan.
This part is my current main research direction of php. Of course zend has done a lot of meaningful things. zend_http is very similar to PHP's curl. It doesn't feel as powerful as curl. However, the operation of curl is a bit opaque. When you use it, you don't know how to get it right. This thing still needs improvement. For example, you can develop a class for detecting http based on this thing. hehe. I prefer it.
Legendary personal identity authentication information. It's just legendary and has very few applications.
JavaScript Object Notation, this thing is responsible for the operation of json. It is actually encoding and decoding... If you are interested in json, study it. I have no interest...
A view-related thing that implements a secondary view. I am more accustomed to using zend controller or shtml to solve this problem. The methods are different.
Dynamic loading is of course 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 nice code. Efficiency? Haha.
Internationalization? Localization? Just think of it as internationalization. Who wants to know what Ma Yongzhan translates into Italian? Anyway, I don’t need it.
Universal log records. It is very similar to the log in the operating system and also very similar to the log in apache. It's a bit like the log I wrote... The two best concepts in Zend_log are: 1. grading error level, notice level, etc., zend is divided into 8 levels, 2. saving log, zend can put the log into output, database, and file. Of course, the most commonly used one is to output to a file. zend_log gave me a lot of inspiration. Used to improve my MyZ_log. Very useful stuff.
Currently I am using an smtpMail class written in PHP... Of course, zend is also written in PHP... If you happen to use mail, or feel that the original mail function is not good enough, I suggest you take a look at zend_mail.
For conversion, the simplest example is to convert feet to meters. For a small temple like ours...it's not of use...
Memory management, eh. This is not a small thing. Program-level memory management. I don’t know...low-level programmers may care about this program-level memory management.
Mime is mostly used for mail functions, of course you can also use it yourself.
OpenID. It is a very popular thing, and its purpose is to integrate all accounts in the world, but the reality is that every manufacturer is not willing to be integrated. They all think about how to integrate others. So this thing is not developing very well.
Pdf is a file format from Adobe, which is the most commonly used format for e-books. Zend is advertised as supporting PDF operations. Is it necessary to promote this thing? Is it the main function of Zend? It's too much to make a fuss.
Registering a thing (variable, array, class...) to the global application is write once use anywhere. Of course, this anywhere refers to your entire project. Is it a bit expensive? But if you use it often, it will be helpful. It eliminates the need for new class every time it is used.
This is not a small thing. Zend is full of classic programs. Rest is similar to xmlrpc and soap. It is the latest web service and its use does not seem to be as much as xmlrpc. Not as much soap. Legend has it that I also have a paper by the father of rest...the legendary zend.
The text-based search engine is of course adapted from Lucence. Now I am beginning to wonder if zend is like dominating PHP. Why can’t I write anything…I haven’t tried it.
Provides support for other zend classes. Is a basic class. Of course, you can also use it yourself. Maybe you can develop a better web service than REST with this thing...
In addition to the various services of Google on the Internet, why should Google be taken out? It is not easy to implement? Or Google is too powerful... I have never used any of these... I will use them. I saw an awesome person using delicious on csdn to add relevant articles to his csdn blog... (I requested csdn many times to add relevant articles, but nothing happened... This guy is really awesome. What csdn can't give us. We Do it yourself. No guns or cannons, we make them ourselves)
This is a good thing, providing an API for storing sessions and providing sessions. Of course, this is prepared for cross-domain names and cross-servers. Of course, it can also replace the traditional session_start()...if you want to do this...
Language issue solved. . . What I'm most happy about is seeing zend using .mo files. This mo file is a language pack in drupal. zend does a good job.
Verify URL class, this is also the basis and is called by other zend members. You can also use it yourself.
Validator, there is a filter in front of it for filtering. This is verified. The essence is the same. It is to judge whether it complies with the rules, and then validate returns whether it is true or false. Filter directly removes the non-compliant areas. Of course we all must have our own filters and validators. Take a good look at zend and make modifications.
This is the best part of the source code in zend to read...it is the simplest. It is recommended that you read it whether you want to learn zend or not...so that when you are bragging to others, you can say: zend. I have read its source code a few years ago and it is well written...
A member of Zend MVC. He can also be considered one of the Five Tiger Generals. But it is not used in my case... I used smarty as a replacement... I feel a bit sorry for zend. There are so many things in zend, but I only used a few... Sigh... But the helper of zend_view is very good. It can replace handwriting and generate various codes that need to be displayed on the view layer.
Web service, xmlrpc is the simplest one. Of course, zend’s class also fulfills the 80/20 mission. I think very few people use it.
Zend is also quite consistent with the 2/8 theory, 20% of programs are frequently used. The rest are rarely used. But as a complete framework, zend is classic.

在PHP中使用ZendFramework:快速入门指南ZendFramework是一个开源的、基于PHP的Web应用程序框架,它是一个功能强大且易于扩展的框架。ZendFramework包含了许多好用的组件,这些组件可以帮助你构建高效的Web应用程序。本文将介绍如何在PHP中使用ZendFramework,帮助你快速入门。安装ZendFramewo

对于Go语言开发者来说,选择合适的类库是至关重要的。优秀的类库可以极大地提高开发效率,同时避免重复造轮子。在Go语言世界里,有许多优秀的类库供我们选择,但也有一些“必备”类库,今天我将为大家介绍一些在实际项目中我认为不容错过的重要类库,并提供具体的代码示例供大家参考。GorillaMux无论是构建RESTfulAPI还是Web应用,路由是不可或缺的部分。

ZendFramework中间件:为应用程序添加OAuth和OpenID登录支持在当今的互联网应用程序中,用户认证是一个关键的功能。为了提供更好的用户体验和安全性,许多应用程序选择集成第三方登录服务,如OAuth和OpenID。在ZendFramework中,我们可以通过中间件来轻松地为应用程序添加OAuth和OpenID登录支持。首先,我们需要安装Ze

通过ZendFramework中间件实现高效的数据库查询引言在开发过程中,数据库查询是不可避免的一部分。一个高效的数据库查询可以大大提高系统的性能和用户体验。ZendFramework是一个使用广泛的PHP框架,拥有强大的数据库操作功能。本文将介绍如何通过ZendFramework中间件来实现高效的数据库查询,并提供相应的代码示例。一、了解ZendF

《Go语言必备类库大揭秘:哪些是学习必备?》Go语言是一门快速、高效、并发安全的静态编程语言,越来越受到开发者的青睐。作为一门相对年轻的语言,Go语言拥有丰富的类库来支持各种开发需求。本文将对一些Go语言中重要的类库进行介绍,并提供代码示例,帮助读者更好地了解和学习这些必备类库。1.fmt:格式化输入输出fmt是Go语言中用于格式化输出的类库,可以方便地输

ZendFramework是一个基于PHP的开源框架,提供了许多功能强大的工具和组件,用于构建可扩展的Web应用程序。本文将介绍如何使用ZendFramework的中间件来为Web应用程序添加社交登录功能。中间件是一种在请求进入应用程序之前或之后执行的代码。它允许开发人员在处理请求的过程中进行定制和扩展。ZendFramework提供了一种灵活的方式来

ZendFramework中间件:为应用程序添加支付宝和微信支付功能引言:随着移动支付的普及,支付宝和微信支付已经成为了许多应用程序中必不可少的支付方式。本文将介绍如何使用ZendFramework中间件来为应用程序添加支付宝和微信支付功能。通过本文的学习,您将了解到如何使用中间件来简化支付流程,并且可以运用到您的实际项目当中。一、准备工作在开始之前,您

ZendFramework2是一种流行的PHP编程框架,它提供了丰富的功能和模块,使PHP开发者们可以更加便捷地构建高质量的Web应用程序。本文将介绍一些常见的ZendFramework2操作,助您更好地使用这个框架。MVC模式在ZendFramework2中,Model-View-Controller(MVC)模式是最常见的架构。MVC模式是一


Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

AI Hentai Generator
Generate AI Hentai for free.

Hot Article

Hot Tools

DVWA
Damn Vulnerable Web App (DVWA) is a PHP/MySQL web application that is very vulnerable. Its main goals are to be an aid for security professionals to test their skills and tools in a legal environment, to help web developers better understand the process of securing web applications, and to help teachers/students teach/learn in a classroom environment Web application security. The goal of DVWA is to practice some of the most common web vulnerabilities through a simple and straightforward interface, with varying degrees of difficulty. Please note that this software

Atom editor mac version download
The most popular open source editor

Dreamweaver Mac version
Visual web development tools

PhpStorm Mac version
The latest (2018.2.1) professional PHP integrated development tool

SecLists
SecLists is the ultimate security tester's companion. It is a collection of various types of lists that are frequently used during security assessments, all in one place. SecLists helps make security testing more efficient and productive by conveniently providing all the lists a security tester might need. List types include usernames, passwords, URLs, fuzzing payloads, sensitive data patterns, web shells, and more. The tester can simply pull this repository onto a new test machine and he will have access to every type of list he needs.
