JavaScript-what is micro-credit development? If you are developing WeChat, can you use the background or the front-end language?

Source: Internet
Author: User

I have checked the relevant information before the question, but I still do not understand after reading it. I am a beginner, many concepts can not understand, hope everyone understanding, I want to give answers, thank you.

I'm a beginner of web development, and I'm not quite sure about the more popular development. What does it mean to develop with the API? is API development just for the public platform? Can you use the background or the front-end language? Are you sure you want to use PHP?

Reply content:

I have checked the relevant information before the question, but I still do not understand after reading it. I am a beginner, many concepts can not understand, hope everyone understanding, I want to give answers, thank you.

I'm a beginner of web development, and I'm not quite sure about the more popular development. What does it mean to develop with the API? is API development just for the public platform? Can you use the background or the front-end language? Are you sure you want to use PHP?

I also developed more than half a year, developed into 2 kinds of
1. There is no front-end page, then do not need the knowledge of HTML, know a back-end language can be, can be php/asp/java, and so on, there is no front-end page of what kind of, example: Open, Below a "Check the Weather" button, click Back window to reply to today's weather, The background of this process needs to be based on the rules provided by the API to get the user's behavior (to see the weather), and then from the database or other places to find data and follow the rules of the API to return the data, and then the user will be received in the window.
2. There is a front-end page, such as a mall, click the public number below the button to jump to the Mall page (webpage), then the first need to develop a mobile-side mall, need html CSS JS and other front-end language, Php/asp/java and other back-end language, API application in Web pages, such as access to the user's OpenID, etc.
What I'm currently exposed to is these.

I just do the development, for our project is this arrangement:

The front-end page shows up using PHP, and then a separate project team is dedicated to the development based on (using the Java language). This standalone project is responsible for wrapping the API and integrating the front-end PHP calls. API development is, of course, for public platforms, to do something based on various types of public numbers (subscription numbers, service numbers).
Refer to the public development documentation. Http://mp.weixin.qq.com/wiki/16/992df48524118c3e89945856694b30cc.html

Developing a public platform using the cloud code, which requires a Nodejs foundation, is relatively easy to use: public Platform development Documentation

Development, it is better to look at the document, language is not a problem, if you use PHP, you can understand the micro-and piglets and other mature things

I generally have two kinds of situations.
The first kind, H5 propaganda page, this kind of back-end almost do not need to do what work, front-end I generally use Requirejs, follow AMD, Zeptojs + all kinds of libraries finish finishing the effect.
Second, let's call the business page, I generally advocate front-end logic separation, the back end no matter what language you use, only expose the API (if you need to further develop the APP, it is labor-saving), and then use Token authorization method (Https,https,https Important things to say three times) with the front-end communication, the front-end words, I am accustomed to use AngularJS to build, the backend ready enough words, generally two or three days can be finished.

    1. Provides several interfaces through which you can include, but are not limited to: interacting with the user, invoking the built-in QR code, invoking user information, controlling the public number menu, etc. Based on these interfaces, put your own ideas on the load up, is to develop, for example, through two-dimensional code scanning design a registration system

    2. There's only a public number to dock.

    3. The front end of course is JS, back-end language is not limited in nature, PHP is just one of

Development, you have to understand a service-side programming language, if you need to implement some business in accessing your pages, you need to understand H5 related technologies

Development mainly refers to the development of programs on the platform, there are two main
One is the H5 page, which is opened in the embedded browser to view the
The other is that you can interact with your members in a dialog box
Either way, you need to be backstage. Unless your program is just a game, you don't need to store any user data
Background language can be anything. The main can be accessed, can process data, can return data on the line.
Front-end Jjavascript and H5 but seemingly to the JS limit is relatively large, mainly packaging JS-based

  • Related Article

    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.