JavaScript
Автор: Sabikow3004 • Май 3, 2018 • Реферат • 3,664 Слов (15 Страниц) • 521 Просмотры
ALMATY UNIVERSITY OF POWER ENGINEERING AND TELECOMMUNICATIONS
THE FACULTY OF THE AEROSPACE AND INFORMATION TECHNOLOGY
DEPARTMENT OF LANGUAGE STUDIES
Semester work № 1
JavaScript
Done by: Amantaykyzy D
Checked: Imramzieva S.D.
Almaty-2017
Content:
I. Text.
II. Translate the text from English into Russian.
III. Vocabulary.
IV. Questions.
V. Lexical-grammatical tasks.
VI. Abstract.
VII. Literatures.
JavaScript
JavaScript in the context of developing complex user interfaces is a very convenient and concise tool. At the level of frontend-development it allows to implement projects of any complexity, whatever task is put in front of any web programmer designer developer or UI (User Interface). Every year JavaScript has become increasingly popular and extend far beyond the web environment. It is widely used in application software, office applications, web editors for creating mobile applications (Palm webOS), widgets and even is a part the operating system, such as in eyeOS. When developing web applications, in particular, when creating a CMS that provides a wide range of useful tools for web masters and for the end user, the need of the use of this language is obvious.
In the design process of content management system for creating and maintaining enterprise portals, there is a need in the organization of the frontend interface way MDI (Multiple Document Interface). This implementation will provide a different level of user interaction with the system compared to using a more classical approach to organization of working space in a web document. Among the useful features of this method include:
-easy navigation and quick switch between topics;
-simultaneous display of multiple partitions;
-dynamic organization of space.
But in addition to the advantages of the approach, there are also weaknesses relating to the implementation of the method of the MDI to the scope of the web document. One of the main disadvantages is the possible performance of such a system with simultaneous multiple open Windows (sections of the site), provided that each of them performs an asynchronous request to the server. For its improvement it is necessary to optimize the queries, to distribute and accurately control the flow of data between the client and the server. In addition, a significant disadvantage may be the lack of the advantages of the multi-mode when the application is running on screens with a resolution of 1024x768 and below. In this case, a medium-size window can occupy practically the entire visible workspace closing a window and other elements, complicating navigation and fast switching between sections. Partly this problem can be solved using the principles of responsive design, adjusting the way of displaying and dimensions of the elements of the document in its actual size. Also, the use of adaptive technologies will allow to operate the system from mobile devices with an even smaller image.
Other features and descriptions of set of functions in a detailed form are presented in the terms of reference (TOR) developed CMS. However, it should be noted that in the preparation of TOR, in accordance with contemporary norms and trends, we set the following tasks:
1.to provide cross-platform, cross-browser compatibility;
2.to optimize performance;
3.to minimize development cost;
4.to organize maintainability;
5.to implement the web designer window.
Currently, there are a number of libraries that provide the functionality for implementing the window interface. There's a small chance that among them will be a library suitable for the solution of the tasks of this project. In order to test this, it is necessary to conduct a search and analysis of existing libraries. On the basis of the objectives of the project to properties possible candidate in the search has the following requirements:
-support for responsive design for mobile devices;
-cross-browser compatibility;
- the optimal set of necessary components and small
-the size of the source file;
-free license;
-active support and development;
-load content from JSON file by means of AJAX.
Data collection implemented with the help of Google search engine requests: “javascript window interface”, “window-javascript library”, “window interface through javascript”. It was found six libraries, names and properties are presented in table . As a result of the analysis of the properties revealed that the selected libraries, performing the visualization of Windows in the web document has a quite powerful functionality, but, at the same time, do not answer some of the above requirements. Almost all modern libraries, the Windows implementation of JavaScript are part of large frameworks, this means that along with the necessary functions, they contain many ingredients which, used in this project are not expected. Extra code takes up more space on server hard drives and in the RAM of the computer on which you run the client. Such frameworks from the list include the jQuery UI W2UI and Qooxdoo. ExtJS as well as multifunctional framework, in addition, has a commercial license and its use is justified mainly in large projects. As for WinLIKE, and Windoo, their development stopped over 9 years ago, respectively, they have lost their relevance and, perhaps, their functioning is not quite correct and optimized in modern browsers since last update of these libraries engines of the browsers have undergone numerous updates, replaced several revisions of the language specification of JavaScript.
...