


Early stage of mobile app server-side development---Tool selection
I have recently come into contact with mobile app server-side development. I am in the initial stage, so I will make some records.
1. How to communicate with the server database under the Android platform
With the Android platform, how to communicate with the server database PostgreSQL, Oracle, Sybase, Microsoft SQLServer and other database management systems DBMS (database management system), there are two main methods: Method
1: direct connection Introduce the
JDBC driver into the Android project and connect directly. Method
2: Indirect connectionUse
PHP+DBMSon the server to do the server side, PHP will use DBMSdata in json or xml for encapsulation. Then send the encapsulated data back to the Android platform. php is a language of webserver. You can also use javascript or perl or asp. No matter which language, their common feature is that they receive androidAfter the client requests, according to the content of the request, extracts the data requested by the client from the database and returns it to the client.
The main problem with the bJDBC method is that the security is not high, and once the amount of data to be accessed is too much, it is easy to have problems. In addition, the Android system itself has direct parsing of json or xmlapi, so it is recommended to use the second method, which has improved practicality and security. Reference:http://blog.163.com/wang_1980_ww/blog/static/111141052013282163933/
2.
For reference on the architecture of the second methodFor details, please see:http: //www.cnblogs.com/YamatAmain/archive/2013/06/09/3129452.html
3.
AboutPHPPHP is not only suitable for web development, but also suitable for mobile phones
app Server-side development. For details, please see: http://www.thinkphp.cn/topic/5023.html
4.
Selection of development toolsThe main reasons for making the choice: It can fully meet the needs, and FREE
WAMP:
windows+apache+mysql+phpLAMP:
linux+apache+mysql+php5.
Database Designhttp:/ /www.csdn.net/article/2012-04-11/2804419
Serial: http://blog.csdn.net/liu7537/article/details/657230
http://www.cnblogs.com/know/p/3197952.html
The above has introduced the initial stage of mobile app server-side development---tool selection, including aspects of it. I hope it will be helpful to friends who are interested in PHP tutorials.

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

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics



In recent days, Ice Universe has been steadily revealing details about the Galaxy S25 Ultra, which is widely believed to be Samsung's next flagship smartphone. Among other things, the leaker claimed that Samsung only plans to bring one camera upgrade

OnLeaks has now partnered with Android Headlines to provide a first look at the Galaxy S25 Ultra, a few days after a failed attempt to generate upwards of $4,000 from his X (formerly Twitter) followers. For context, the render images embedded below h

Samsung has not offered any hints yet about when it will update its Fan Edition (FE) smartphone series. As it stands, the Galaxy S23 FE remains the company's most recent edition, having been presented at the start of October 2023. However, plenty of

In recent days, Ice Universe has been steadily revealing details about the Galaxy S25 Ultra, which is widely believed to be Samsung's next flagship smartphone. Among other things, the leaker claimed that Samsung only plans to bring one camera upgrade

The Redmi Note 14 Pro Plus is now official as a direct successor to last year'sRedmi Note 13 Pro Plus(curr. $375 on Amazon). As expected, the Redmi Note 14 Pro Plus heads up the Redmi Note 14 series alongside theRedmi Note 14and Redmi Note 14 Pro. Li

OnePlus'sister brand iQOO has a 2023-4 product cycle that might be nearlyover; nevertheless, the brand has declared that it is not done with itsZ9series just yet. Its final, and possibly highest-end,Turbo+variant has just beenannouncedas predicted. T

Historically, Oppo has refreshed its flagship 'Find X' series in late winter or early spring, save for the original Find X that it announced in June 2018. To that end, the Find X7 and Find X7 Ultra are barely more than six months old at this point. H

This tutorial demonstrates how to efficiently process XML documents using PHP. XML (eXtensible Markup Language) is a versatile text-based markup language designed for both human readability and machine parsing. It's commonly used for data storage an
