Sooner or later, advanced users will become interested in what the Framework is. It should be noted right away that there is nothing very complicated and scary in this platform. Starting with Windows Vista, this element is part of the whole system. For XP, you still have to install the component if it is not. However, do not be lazy to load an element or, conversely, delete it. He is really needed.
Thanks to the existence of such technology, more and more applications are appearing. Even before downloading the necessary drivers for the ATI graphics card, the Net Framework is installed. If there is no environment, error messages will appear during application startup. The presence of a component is an important condition, as is WinAPI, without which the system is not such. This article will talk about what the "Framework" is.
We understand the general concept
What is a framework? This platform is an integrated component of the system that supports the creation and simultaneous execution of new applications and XML Web services.
The first version was released in 2002. The platform was designed with several goals in mind.
First: guaranteeing a mutually consistent object-oriented web programming environment. It is needed when locally storing and executing object codes and ciphers distributed on the Internet. At the same time, you can perform tasks remotely.
Second: providing a code runtime that minimizes inconsistencies when deploying programs and managing different versions. It should be a guarantee of the safe execution of commands, including those written by unknown or third-party manufacturers.
Third: guaranteeing the runtime of the codes without performance problems when implementing scripts or interpreted ciphers.
Other areas of platform development
Fourth goal: providing unified and interconnected principles of programmers for various types of Windows applications and online extensions.
Fifth: building relationships based on an industry standard that combines platform code with a different cipher.
Main components
The framework created by Microsoft consists of a class library and a common language runtime (CLR). The latter refers to an agent that manages the codes during their implementation and provides several basic services (memory, thread and remote control services).
The main conditions applied are strict typing and various checks on the correct spelling of ciphers, which guarantee security and the absence of failures. The runtime is designed for code management.
Another major component of the platform is the class library. This is a complete object-oriented collection of types used in creating applications, from standard ones that can be opened using the command line or graphical user interface to equipment using the latest ASP.NET technologies, such as XML web services and Web Forms.
Element interaction
Thus, the CLR and the class library are interconnected with software and the entire system. Therefore, the user cannot launch applications without a platform consisting of these elements.
CLR Potential
This platform element is responsible for memory, thread and code execution, security verification of the written cipher, compilation and other system services. Such remedies are called internal. They relate to managed code running in the common language runtime.
In order to ensure security, components are assigned different levels of trust, depending on many factors, including origin (created on the Internet, enterprise network, or on a local computer). You can enable or disable the ability of a managed element to perform operations such as accessing the registry, accessing system files, and other functions. This action is carried out even if the code is used in any active application. Access for it is guaranteed by the runtime.
Priority Assignment Sample
For example, a user can trust an active application embedded in a web page to play an audio recording or an animation by denying access to personal files or a network. With CLR security features, genuine Internet-deployed software gets rich features.
Resolving possible application errors
The infrastructure for accurate typing and verification of codes, called CTS, is implemented using a runtime that guarantees the reliability of the written cipher. Thanks to such a system, self-description of all elements is provided. Managed code is generated by various Microsoft and third-party language compilers. It corresponds to the general type system. This code also accepts other managed instances. At the same time, it guarantees strict typing.
Thanks to a managed runtime environment, the most frequently occurring software errors are eliminated. For example, objects and references to them are placed in appropriate places and freed when not used at all. These processes are automatically controlled by the previously mentioned runtime. This memory management eliminates some of the most common problems: memory leaks and broken links to it.
Increase in productivity
Thanks to the runtime, developers are more efficient. For example, programmers can use its advantages when writing applications in their usual language. Developers have access to the class library and components. Even if the elements are written in another language, programmers will be able to use them. The function is used by many compiler vendors that access the runtime. Thanks to this, the platform tools become available for existing codes written in the corresponding languages, and the process of transferring the created applications is greatly facilitated.
Compatibility
A runtime environment was created for future equipment. However, it supports previously written applications. Thanks to the interaction of managed and uncontrolled codes, developers can use the necessary COM components and elements of the DLL.
The runtime environment increases productivity. It provides many standard web services. Managed code is never interpreted anywhere. It is allowed to run in computer language PC by means of compilation on demand (LT). To increase productivity at this time, the memory manager eliminates the possibility of fragmentation and increases the total volume.
Net Framework Class Library
This is a collection of types that integrate closely with the CLR. The class library is object oriented. Of the types it provides, managed user code often inherits functions. This simplifies the work and reduces the time spent on the development of the latest platform tools. In addition, elements created by independent authors can be easily combined with built-in classes. For example, the set of interfaces included in the platform collections can be used in the development of custom components. Similar classes can easily be combined with built-in ones.
Process execution
Thanks to the types of platform, you can solve such standard tasks as collecting information, connecting to an information system, accessing various files, working with strings. In addition, many of them support highly specialized development scenarios. For example, the platform is used to create console software, web services, Windows services, programs with a graphical user interface, as well as Wpf, Asp.Net, Wcf, Wf applications.
Third Party Code
What is an Independent Author Framework? This is a web site framework that avoids the chore of rewriting duplicate sections from project to project. The main emphasis is on logic. Any user involved in web development for quite a long time has at his disposal any ready-made classes used in their projects. A similar set of libraries can be called the "Framework". Over time, the programmer begins to realize that the old code is completely unsuitable, and it needs to be redone again. But the user can save time by using the framework written earlier by experienced developers.
Php- "Framework"
This is an amazingly useful tool. Thanks to him, Php applications are created and served much faster. This contributes to high-quality and structured web development.
Varieties
Yii- "Framework" is a tool for creating Web2.0-applications. The release version was introduced in December 2008. Essentially, this is a high-priority Php framework. Many similar codes were released at that time, but Yii is of most interest. It was created by the author of the Prado Framework. Yii has high performance. It is an absolutely PHP5-compatible "Framework", built on the architecture of MVC. Yii is easy to use, well organized.
Javascript Framework: Variations
When developing web applications (not to be confused with sites with an interactive UI), the user has to reinvent the wheel by first separating information from the UI part of the application and then determining who is responsible for their interaction. Therefore, sooner or later, the programmer begins to look for ready-made solutions to ensure the relationship between these components. Javascript Framework helps to fix the problem. It has over 30 varieties.
Jquery is an interesting Js- "Framework", which captivates with its relative ease of understanding and the possibility of comfortable use. Recently, it has become quite popular. Jquery- "Framework" has a decent functionality. A lot of plugins and instructions have been created for him. Novice web developers can easily learn jquery. Therefore, it is used more and more often.