Summary of Le Hui Tong Project

Source: Internet
Author: User

1. Project Background

One of the apps that combines fun and skittles with a group of us and glutinous rice. The biggest difference is that the app is only available in Lhasa. This is a small market app for apps.

2. Project Technology

The main technology used in this project is the idea of mixed programming, with the "beeframework" framework used both on the iOS and Android sides. This framework incorporates the idea of mixed programming, which encapsulates many good third-party libraries. The interface layout is written in XML and CSS.
The background is used in the open source Ecshop framework to be written, the advantage of adopting this framework is that the development cycle is short.

2.1 Beeframework Introduction Introduction

Beeframework is an iOS rapid development framework that is primarily active in the GitHub open source community. The typical MVC pattern, clearly divided into model, View, controller three levels, business data, business logic, interface display, interactive logic completely separated.

Event-Driven

For controller, model are state-independent (stateless), so it is driven by three kinds of event: Message, Request, Notification. For view abandoned the old delegate, introduced the new concept of uisignal to drive interface interaction events or state changes.

2.2 Ecshop

Ecshop an open source shopping mall framework, the function is very complete, it is very suitable for the rapid development of mall-like applications backstage.

3. Project Issues Project Framework Analysis

The use of Beeframework this framework to program greatly shorten the development cycle, because Beeframework is a set of mature framework, network data request encapsulation is particularly good, but because the interface is written in the form of XML and CSS, So the time to write the interface is a little longer than the network request interface. However, the latest version of the Beeframework framework integrates the Liveload mode and only needs to be set in bee_precompile.h

#define __bee_development__ (__on__)#define __bee_log__ (__bee_development__)#define __bee_assert__ (__bee_development__)#define __bee_performance__ (__bee_development__)#define __bee_unittest__ (__off__)#define __bee_mockserver__ (__off__)#define __bee_wireframe__ (__off__)#define __bee_liveload__ (__on__)

Then import the bee.services.liveload in the services to achieve a visual interface writing, each time you modify the XML code to save, the emulator interface will have the corresponding changes.

Background Analysis

The background framework uses the open source Ecshop framework, which is older and the PHP version only supports php5.3 previous versions. Then the function of Ecshop is complete, the use of this framework for two of development needs to be enough familiar with Ecshop.

Interface Authoring

The biggest problem in the development process is the problem of interface writing. Personally feel that a normal process should be, a project after the completion of the discussion requirements when the UI began to design the prototype, then there should be a person responsible for the programming of the interface, iOS and Android personnel can first build the framework. When the framework is finished, the interface is almost also defined, and the background program and iOS and Android should write the interface at the same time. The background to write the interface when you can test it again, after the test to continue to write the next interface. The order in which iOS and Android write interfaces is best kept consistent so that development progress is guaranteed to be the same.

Personnel communication Issues

In the process of project development, communication is more important, especially in the background and the communication between the front desk, because many times the interface is not a call can be successful, in the development process may often encounter the failure of the interface to receive data in the foreground. This time requires the background program and the foreground program in order to find the problem. But due to special reasons (there are many students in the school, the day to Class), backstage and the front desk can not be exchanged at any time. Often encountered in the background error, but no one to solve, so it can only be pushed down the night. Fucck.

Summary of Le Hui Tong Project

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.