<span id="Label3"></p><p>At present, the product being developed is over, there is time to summarize the experience, also in the way to share our main use of the Platform-parse.<br><br>What is parse?<br>The parse is a cloud computing platform developed by Americans for mobile app services, which, in addition to providing restful service, provides the official iOS and Android SDK, as compared to other cloud computing platforms Available. personally, the High-quality Client-side SDK is the core advantage of the parse distinction and other cloud Services. Why is it? I'll find out after reading my article.<br><br>Why do you use parse?<br>Think about developing a simple app that needs to save user data and what you need to do. People with non-technical backgrounds will probably think that it's just a matter of looking for someone to make a few phone interfaces. Slow! As programmers we will tell this technology-savvy friend (maybe an investor, maybe your boss), in order to save the user data and password, we need to set up a database, set up a server, find a virtual host provider deployment services, spend a few days to several months to develop the server code, Although these things seem to have nothing to do with a program that runs on a mobile phone, it is essential. These early preparations, unrelated to the development of the iphone, have prevented most individuals or small groups from turning their entrepreneurial ideas into Action. By this time, the savior of the small team came to Parse. Just focus on the development of specific needs on the iphone, cumbersome back-end services are all arranged by the Parse.<br><br>The service provided by parse?<br>Most features are free and a few features are only available to pro users (199$/month), which can be accessed on the official website (https://www.parse.com/plans).<br>1. The data in the Jason format is saved for Reading. Can be understood as database +dao+service. No Schema, front-desk programmers do not need to pre-order the structure of the table, as long as the object C objects set up, You can automatically create a corresponding object-oriented "database table." In the traditional development process, the entire background service development work has been omitted.<br>2. User Management. User objects are most commonly used, and parse provides Pfuser objects that contain common user actions such as registering for a login reset password, and the ability to introduce ACL management Objects.<br>3. Message push: supports message push for iOS and Android Platforms. specifically, iOS developers no longer have to build their own messaging Servers.<br>4. File Storage: Saving objects in addition to the class database also supports the saving of binary Files.<br>5. Hide the parse: by default, Reset the password, verify the fuel tank and other functions using the parse logo page and email address. Pro users can customize mail templates, Web templates, or request the parse redirect to their App's Website.<br>6. Facebook and Twitter account bindings. is to build Pfuser and Facebook and Twitter accounts. The parse SDK also includes the SDK for Facebook and Twitter. This should only be useful to those students who are facing foreign markets.<br><br>What does the Parse SDK include?<br><br><br>Third-party Cloud services are flying, and easy to use is the KEY. Look at the introduction of the parse team, all of them are cows, and the quality of the SDK has not been said. The official iOS and android, the unofficial basic is all, including Wp,php,flex Java and so On. This is all about iOS Sdk. In addition to the basic and background RESTful API interface, also includes a packaged down refreshed table view controller, pretty landing, Registration interface, asynchronous read save data interface and Cache. In addition to a variety of examples, the official website recently released a real App Store project Anywall. Interested students can go and have a look.<br><br><br>ok, so much to say, you can look at the Code. Good English students can refer to the official documentation: www.parse.com, or listen to my actual use of the experience, code examples from the parse official documents and my own project. You can refer to Https://www.parse.com/apps/quickstart to establish a local development environment.<br><br>The simplest parse object is the Following:<br></p>Object C code <ol class="dp-default" start="1"> <ol class="dp-default" start="1"> <li>Score: <span class="number">1337, playername: <span class="string">"Sean plott", cheatmode:false</span> </span></li> </ol> </ol><p><p><br><br>If you save with parse, it is:<br></p></p>Object C code <ol class="dp-default" start="1"> <ol class="dp-default" start="1"> <li>Pfobject *gamescore = [pfobject objectwithclassname:@<span class="string">"gamescore"]; </span></li> <li>[gamescore setobject:[nsnumber numberwithint:<span class="number">1337] forkey:@<span class="string">"score"]; </span></span></li> <li>[gamescore setobject:@<span class="string">"Sean plott" forkey:@<span class="string">"playername"]; </span></span></li> <li>[gamescore setobject:[nsnumber numberwithbool:no] forkey:@<span class="string">"cheatmode"]; </span></li> <li>[gamescore save];</li> </ol> </ol><p><p><br><br>The corresponding request format is:<br><br>Copy Code</p></p>Object C code <ol class="dp-default" start="1"> <ol class="dp-default" start="1"> <li>ObjectId: <span class="string">"xwmyz4yegz", score: <span class="number">1337, playername: <span class="string">"Sean plott", cheatmode:false,createdat:<span class="string">" 2011-06-10t18:33:42z ", updatedat:<span class="string">" 2011-06-10t18:33:42z "</span> </span> </span> </span> </span></li> </ol> </ol><p><p><br>After the save is successful, you can see the corresponding record in the parse data browser.</p></p><p><p>Parse build mobile app backend service (i)</p></p></span>
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.