Open source a Buy app based on daily purchase

Source: Internet
Author: User

   may everyone knows every day buy open source system, a Do group buy open source project is great, some days ago did based on the daily purchase system to do the group purchase client and mobile server! Source code out, have to understand can see, hope revenue!

First of all, the server: App server, based on the daily purchase of the database re-burst the mobile interface, based on the HTTP protocol, the client through the post value, the server to get data, parse execution, and then Json_encode, return! Daily purchase of PHP code is too much abstraction, perhaps its own PHP code time is not long, in short, not based on his system to do, but based on the database to do, introduce the most basic table, cenwor_system_members-user table; cenwor_ Tttuangou_seller: Seller table, cenwor_tttuangou_uploads: Upload picture table, cenwor_ttuangou_product: Product form, several database design or easy to understand! The app server is the interface to the app based on this;

Installation instructions: Put the app server code in the Tttaungou system root directory, you can, the file name is Emobile, below the base-basic class, controllers-to the app interface, logic-data operation class; original Eco PHP code, easy to understand If you want to run, you need to reconfigure the database's address and password in the ServerConfig.class.php below the base directory.

  

App Android client: Every once to the client found no wife to talk about, first talk about the use of the third-party library bar! Imageloader (image asynchronous loading), Asynchttp (HTTP Network Feng Package), Pulltorefreshlibary (pull-up refresh, drop-down loading), SHARESDK (third party sharing), that's it! The Android client does not use MVC, but instead uses the package to differentiate between different modules, and different classes, such as the adapter class, the activity class, the fragment class, and some basic classes like the seller class, the Product class, Not the most streamlined version of the code, but to make it easy for a novice to pick up!

  

App iOS client: Still in development, in fact, Android is also in development, there are many imperfect places---will continue to improve. iOS ready to use a COCOAUI library, using this library greatly simplifies the layout, basically and write html+css a look, because again in the previous project is used, so also back to use, the author is very praise, encounter problems, in the group private chat he will soon have a response! iOS clients and Android are similar, not based on MVC, encapsulating some basic data structures such as user class, seller class, Product class, put the main logic into the Uiviewcontroller. Although the code is simple to catch up with the MVC structure, but very good understanding, very good to start!

Attached:

   App Server PHP code: http://pan.baidu.com/s/1eQAVlVs

Android Code: Http://pan.baidu.com/s/1sjA8NoD

iOS: Waiting to be added

  

A few screenshots:

  

  

Open source a Buy app based on daily purchase

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.