一直很关注apicloud,看到很多坛友也分享了自己的应用源码,心血来潮我也跟风做了一个app,因为网易新闻有态度,所有就仿照它来做一个app,希望apicloud也引领app的态度!
一直很关注apicloud,看到很多坛友也分享了自己的应用源码,心血来潮我也跟风做了一个app,因为网易新闻有态度,所有就仿照它来做一个app,希望apicloud也引领app的态度!废话不多说了,我给大家大概介绍下这个app的制作思路,这个app的页面结构比较简单,index页是有一个navigation,听过navigation的每个元素切换到topLine页面,topLine中有banner,listView,topic,imgGroup4部分组成,这是前端的页面结构。在这个app中我使用到了apicloud的mcm模块,通过前端页面结构,我在云端database中创建了5个类,分别是nav,banner,listview,topic, imgGroup4,这些类之间也有依赖关系,通过nav类与banner,listview, imgGroup4是一对多的关系(对应apicloud的database的数据类型就是relation关系),与topic是一对一的关系(对应apicloud的database的数据类型就是pointer关系)。我还在此app中使用到了数据库自带user和file类,user类在登陆注销体现,file类用在存储图片。经常看到大家在群里问apicloud的云端数据库的使用,希望这个app能给大家提供一点思路,我把源码共享出来,希望大家多给提提意见。
网易新闻.zip
( 288.37 KB 下载:375 次 )
AD:真正免费,域名+虚机+企业邮箱=0元

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

Video Face Swap
Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

SecLists
SecLists is the ultimate security tester's companion. It is a collection of various types of lists that are frequently used during security assessments, all in one place. SecLists helps make security testing more efficient and productive by conveniently providing all the lists a security tester might need. List types include usernames, passwords, URLs, fuzzing payloads, sensitive data patterns, web shells, and more. The tester can simply pull this repository onto a new test machine and he will have access to every type of list he needs.

ZendStudio 13.5.1 Mac
Powerful PHP integrated development environment

MantisBT
Mantis is an easy-to-deploy web-based defect tracking tool designed to aid in product defect tracking. It requires PHP, MySQL and a web server. Check out our demo and hosting services.

MinGW - Minimalist GNU for Windows
This project is in the process of being migrated to osdn.net/projects/mingw, you can continue to follow us there. MinGW: A native Windows port of the GNU Compiler Collection (GCC), freely distributable import libraries and header files for building native Windows applications; includes extensions to the MSVC runtime to support C99 functionality. All MinGW software can run on 64-bit Windows platforms.

SublimeText3 Linux new version
SublimeText3 Linux latest version
