Suddenly whim, along with my this small CPU rotation, I want to write blog every time it is already good things posted out, rather than occasionally to do the project together, gradually, so no matter to everyone or to my help is very big, although I am not what Daniel, but has been a project from beginning to end, I hope that this can provide you with a point of project development experience, but also very welcome to Daniel's unique views.
First determine the business requirements, I want to do a scan QR code and interpretation of the function. Use HTML5 to do this, so you can achieve cross-platform.
First determine the development environment, if you use Java Eclipse/intellij idea is a good choice, using C # with VS2012 and other versions.
Because the company uses C #, so I choose him, if you want to use other languages to develop later can also follow up to develop, in fact, as long as a language will be, are object-oriented, compared also not difficult.
In order to reduce the amount of contempt later, I have done before tell Java, the back of the company used is C #, considering the company's well-being good I came in, I thought about a few days, you can start to develop, basically the gap is not big. And I am also the first time HTML5 project, this aspect is not the veteran, in the company relatively leisurely self-study, the main oneself to this kind of interest, please Daniel do not spray. So I want to borrow this platform, to improve themselves, to share some experience with each other.
Development Platform VS2012
Development Technology C # html5+javascript2.0+css3.0
This article is about thinking first.
Personal ideas are as follows:
1, HTML5 API to call the camera, and display, and constantly shooting, will be photographed to save the picture stream data to be sent to the backstage with Ajax.
2, the background for analysis and processing, the introduction of two-dimensional code parsing package, the image stream data to parse, and generate the corresponding string.
3, then the generated string to the foreground Ajax received and printed out can be
Basic functions such as above, if you want to expand, or want to save the generated string to the database in the background insert can, or you want to upload to the foreground after the HTTP address to determine the location of the jump line, we are now gradually complete the direction of the entire data. If there is an objection to the siege division or the big Lake people, you can leave a message, we discuss the countermeasures.
Let's get together. How to develop a HTML5 project