Forms have been an integral part of any interactive site since the dawn of time, they promote interactivity and are usually the most common way users interact with a site. It's commonplace that when a form is submitted, the website will take 'action' and do something with the data and then provide a user with the result. Symphony provides this logic layer via Events.
「輸入表單」一直以來都是動態網站的重要部分,表單也提供了最基本的互動功能。最常見的就是當使用者提交一個表單之後,網站會執行某種「動作」、做了某些事,接著將結果呈現在使用者眼前。Symphony CMS 透過「事件(Events)」提供這樣的邏輯層。
This tutorial assumes you have a basic understanding of how Events work in Symphony (if not, this may be a good introduction) and are semi comfortable writing some PHP code. I'll be showing you some of the lesser known features of Symphony Events, including event priority, event chaining and a brief demonstration of how to write a custom Event. The difficulty level progresses as we go through, but with any luck you'll be able to learn a thing or two :)
這份教學文章假設你已經對