Client/Server data exchange contains request and response. Good request/response can help us understand business more easily.
In Web Applications, JSON has become the most popular data exchange format. And JSON can express business more clearly.
Tuesday, December 20, 2011
Saturday, June 18, 2011
Read and Write local files in Firefox
In last post (Read and Write local files in IE), we talked about how to read and write local files in IE. In this post, let’s continue this topic, and finish this function in Firefox.
The following code is about reading and writing local files in Firefox.
Friday, June 17, 2011
Read and Write local files in IE
In Web Applications, Reading local files in browsers is not common behavior. Web Front End Developers can use this behavior to simulate the provision of Web Back End data. Then, we can implement parallel development of Web Front End and Web Back End. The development efficiency will also be improved.
The following code is about reading and writing local files in IE.
How to use JavaScript to determine the type of browser?
In order to make Web Applications can be worked in a variety of browsers. Depending on the differences of browsers, we need to adjust code, especially JavaScript code. Before doing this, at first we should use JavaScript to determine the type of current browser. Now we give the JavaScript code (To determine IE and Firefox).
Labels:
Browser Type,
Firefox,
IE,
JavaScript,
Web Application
How to solve the problem of having the same name in JavaScript variables and functions?
JavaScript is a scripting language, which is widely used in Web Applications. However, in practice, many people only treat JavaScript code as a collection of variables and functions. Because of many such usages, it brings a very common trouble problem - how to solve the problem of variables and functions have the same names. Java introduces package mechanism to solve this problem. So can we also introduce this mechanism to solve it? The answer is yes. The solution is as follow.
Sunday, June 5, 2011
The Responsibilities of Web Front End
In last article (Data Exchange Format between Web Front End and Web Back End), we talked about data exchange formats between Web Front End and Web Back End. And In web application, we choose JSON as data exchange format.
Data Exchange Format between Web Front End and Web Back End
In last article (Role Division in the development of Web Development), we talked about that in order to improve development efficiency of Web Application, we need to implement the parallel development between Web Front End and Web Back End. To achieve this goal, first we should determine the data exchange format between Web Front End and Web Back End. In this article, let’s talk about some data exchange formats between them.
Labels:
Back End,
Data Exchange Format,
Front End,
JSON,
XML
Role Division in the development of Web Application
In Web Applications, we always have such parts, Front End and Back End. The responsibility of Front End and Back End is that Front End transfers request to Back End, and Back End returns response to Front End. The communication protocol of Front End and Back End is generally distributed protocols such as Web Service. Since my work is mostly related with Front End, so I will do some research in Front End.
The first Post
This is the post of this blog. First, let me introduce myself. I am Jacky Cui, living in China. And I am a Java engineer. Talking about Java, I think I am still new to Java. Because knowledge on Java is so huge, actually I just know some parts of all Java knowledge. To make me more proficient in Java, I still have much more to learn.
Subscribe to:
Posts (Atom)