About Us
Company Blog
- 2011 Mobile Internet workshop of Hubei Province
- Our company attended the 2011 Annual Party of WSOA & WHSIA
- Two Drupal websites are delivered by EveBit Digital
- EveBit employees participate "HTML5 Workshop" in Wuhan
- EveBit Digital moves toward CMMI Level 3 Certification
- EveBit becomes IT service provider of China Wanderer
- EveBit participated "Cloud Computing Era of Process Improvement and Outsourcing Policy Announcement of Wuhan"
- EveBit helps clients to mobile!
- EveBit delivered Facebook Application for client
- EveBit attended Shanghai World Expo as outsourcing service provider
- How to upgrade big Magento site to v1.4 or higher version
- Some considerations about Zend Server
- Integration between Zend Studio and SVN
- Can Magento use Amazon S3?
- How to fix a strange image displaying error on Joomla!
Zend Framework Development for Real Estate Exchange Platform
Project Website: http://www.517mf.cn
Zend Framework was launched by the Zend PHP language-based development framework aimed to help develop staff to efficiently and rapidly develop meet enterprise business applications, and the use of our internal structure to maintain a good level.
The real estate exchange platform project, we use the Zend Framework Framework technology to reconstruct the real estate exchange platform.
Zend Framework MVC framework requires developers to follow the development model, what is the MVC development model?
MVC consists of three English words, the first letter, namely the Model (model), View (the view) and the Controller (Controller)
Model application in, can be considered as a data storage layer, is responsible for the underlying data of the various operating, that with such operation would not involve 到 business logic and specific data format, to ensure that these data can be other calls each controller reduced duplication of development work.
View in the application, can be seen as the front layer, the user requests for data and presentation of human-computer interaction and other interface. , Briefly, is that the user can see the front of the web page.
Controller in the application, can be considered as business logic layer to handle all business logic and business rules, is Model and View of the middle link is the core of the MVC pattern.
In the Zend Framework's MVC model, there is one of the most central controller, called the FrontController (front controller), which is responsible for determining whether the user requests the page, and by Zend Framework inside the Router (router) routing rules, the user's Request Dispacth (distribution) to the corresponding Controller, received notice FrontController the Dispatch, the corresponding Model Controller is starting to get a call or processing business to be involved in data processing has been completed, the data will be passed to the View, and began to Render (rendering) View, the last page with the rules of logic will be presented to the user.
The above development model, we can find the use of this development model, making both the code level, business logic times, are very clear. Improved code reuse. The second development involved in the project's developers, not lost in the huge library, and may be mixed on the page in the business logic. Which modify the page, just to find the corresponding Controller, modify the business logic code, you can quickly adjust to the business logic without affecting the business logic to other pages, because the Zend Framework's MVC mode is recommended to page as a unit, the Controller to be divided, that each page has a Controller, View and Model.
With our real estate exchange platform, availability search, for example, introduce the Zend Framework's MVC specific operation.
First in the search listings corresponding to the Controller, there is a default method, which functions as a "show the user not to join any of the search criteria presented page." And this page, the data presented, not the Controller drawn in charge, but the Controller is responsible for notifying the corresponding Model, in the database search, Model will find out the results to an array of ways to return to the Controller, Controller then passed to an array of View, View showing progress.
When the user clicks on a particular search criteria, the search terms will be first delivered to the Controller, Controller parameters will be analyzed for some business logic processing, and then inform the Model, so that Model to select the search terms by users in database for data retrieval, retrieval Upon completion of the data to an array of ways to return to the Controller, Controller gave the normal conduct of View, View of the array of data within the split, so the user can see through the filtered search result.
From the actual work process, we will clearly find the data stream in accordance with certain norms and conventions to flow, View and Model, the no data transmission, any data, parameter passing, by the Controller unified deployment processing, so Qingxi level, ensure the orderly MVC in each module business in their own areas of responsibility to work for the errors in procedures, but also for rapid, accurate positioning.
Using the Zend Framework's MVC model development project, we follow the following procedure:
1, PM collected on the business rules and clear, to determine project requirements and characteristics.
2, PM each division of the project Build (internal labeling), within the current Build, all need to realize the function modules and their descriptions, in Clocking IT systems one by one input, and in accordance with job responsibilities, personnel assigned to different projects. Meanwhile, the establishment of a Bug & Fix for Milestone (Milestone), for project development, or testing phase later exposed the problems and bug (bugs), track management.
3, PM draw sketches of various page designs, web designers start designing pages based on design sketches, and completed the work in Clocking IT systems to date.
4, program developers, according to project requirements, dividing the project in the public module and non-public modules, according to the module weight, each developed for completed work, in Clocking IT 系统 conducted to date, through the SVN system for source management.
5, PM Clocking IT in the day view, tracking the progress of implementation of each module, and the project end date items, too late in the Build completed within the function modules, up to report, be approved, the move to implement the next Build .
6, page nested, will develop procedures and completion of the static design of nested pages.
7, Alpha testing, test team on the project for internal testing, test results back to Clocking IT systems in the Bug & Fix, PM According to it, and then assigned to the specific amendment to amend the project staff.
8, Beta testing, large-scale online testing, test team under the Alpha test feedback Bug & Fix the entries focus on re-measurement.
9, the specification of the final inspection, such as the page Title tags, page keywords, statistical code, page coding.
10, the project on-line.
11, the project team began to discuss and deploy the relevant work of the next Build.








