The best AppML architecture Tutorial In 2024, In this tutorial you can learn MVC architecture,Model (MODEL) - just a simple XML file,View (VIEW) - just a plain HTML file,CONTROLLER (Controller) - just a browser is server-side scripting,Typical Web files and folders:,Fast, flexible application development,Declarative programming,Code First (Code First),Service-Oriented Architecture (service-oriented architecture, SOA),Advantages of Web Services,Cloud computing (Cloud Computing),
MVC architecture<AppML> using MVC architecture. MVC full name is Model View Controller, the model (Model) - view (View) - Controller (Controller) acronym, a software design model. Model (Model) describe your application. View (View) to display your data. Troller (Controller) control your applications. Wikipedia: the Model, the View, the Controller |
Model describes your application, and can be reused in different hardware and software platforms (PC, iPhone, Tablets, etc.). It does not care about the user interface (UI) or manifestations.
Model uses xml prepared, stored in a web server.
Examples of the above defines the data source from the Northwind database.
This model allows the use of predefined SQL access to data. It also allows Customer, City and Country queries and sort data.
That view is UI (User Interface: User Interface). It is usually a display and input data (optional) HTML page:
<h1>My First Web Application</h1>
<div id="Place01"></div>
<script src="appml.js"></script>
<script>
customers=new
AppML("appml","Customers.xml");
customers.run("Place01");
</script>
</body>
</html>
Create an HTML page using the above AppML objects through execution of the script language, and displays the data in the id = "Place01" in the div.
Using "appml.js" script file.
Server-side scripting control applications in the following ways:
Browser script control applications in the following ways:
Data folders: Data Image Folder: Images Model folder: Models Applications: Demo.htm Style: Demo.css <AppML> Profile: appml_config.php (or x) <AppML> Style File: appml.css <AppML> Browser Controller: appml.js <AppML> Server Controller: appml.php (or x) |
Rapid application development (Rapid Application Development, RAD) extraction method is not only a demand, it is software development as one of the methods. Rapid application development program aimed at quick release system, and technically beautiful relative release rate is secondary.
<AppML> offers ultra-rapid prototyping, higher than traditional software development methodologies 100 times faster.
Prototype applications can be run directly from the application model, without any coding.
Wikipedia: Rapid Application Development
Agile software development is based on a step by step on the basis of users and developers collaborate on group evolved method.
<AppML> Applications can incrementally step by step to go from prototype to write the complete application.
Wikipedia: Agile Software Development
Software developers often can not be completed in accordance with the expected time and budget. Software coding error also occurred frequently. This is because the computer code is very difficult to develop, test, and maintenance.
Coding is obsolete. Describe what you should do more, rather than how to achieve it.
Use <AppML> you need to declare your application in the model.
Use <AppML> write less or without writing code.
Wikipedia: the Declarative Programming
Web application developers can use the following two different ways:
1. Code First (Code First): the use of pre-programmed, pre-tested the code, just add a new application description.
2. Contract First (Contract First): Instructions from scratch complete application requirements to write applications.
<AppML> the most reasonable concept: Code First (Code First).
Web Service is a data interface, specified by the URL, just like a web page. But it is different from the web page, it's just a way to convey information.
A typical Web Service provides data for the page.
Use <AppML>, HTML display for the user interface, <AppML> to provide data.
Original Web Services using XML logo design such as SOAP, WSDL and UDDI.
Modern Web Services such as <AppML> application easier.
Service-Oriented Architecture (service-oriented architecture, SOA) is a component model, it application of different functional units (called service) through service between these well-defined interfaces and contracts linked. UI is defined in a neutral manner, it should be independent of implementation services of hardware platforms, operating systems and programming languages. This makes building systems in a variety of such services can be in a uniform and common way to interact.
For example, a Web services, you can design a small program, provide the latest stock price trading applications.
Web services using the HTTP protocol to communicate with other systems, Web services are independent of operating systems and programming languages.
Call Web services applications will always use the HTTP protocol to send requests. The calling application will never care about other computers running the operating system or programming language.
Web services for more companies to create new possibilities, because it provides an easy way to distribute large amounts of information.
For example: flight schedules and ticket reservation system.
Cloud computing (Cloud Computing) is SOA extensions: Application as a Service (Application-as-a service), storage as a service (Storage-as-a-service), a service data (Data-as-a-service).
For most people, the cloud is data stored on the web:
The reason is obvious:
<AppML> can be easily databases and applications in the cloud.