ruby on rails - What exactly is a web framework? -
There is a web framework, like Django and Ruby on Railing, which is a way of displaying code that can be written to http normally is ? Or is it used for more server-side things, such as data collection is used as front-end or back-end for websites?
Let's talk for a moment, things that are not web frameworks.
At the most basic level of the web you have a webpage, it is usually a mute page with some text on it, perhaps an embedded video or some images. This does not take care of (or at least ideally), where it shows that the luggage is coming. You do not need any scripts, databases, etc. for a stable webpage. Common tool used: HTML, CSS, Javascript
Then you have to say Content Management System (CMS) such as WordPress, they add a little more functionality to your site, but what they actually do is to manage your collection of webpages. To provide a way - make people on the fly. Etc. You can use them and they can communicate with CMS through administration. They provide the page you can extend some of them (for example, there is a plugin architecture in WordPress), but you can use mango They are not related to how they work or with their specific APIs.
and then you have a web framework that allows you to do everything else structured. You do not need a framework to create a database-driven site, but This can help frameworks buy you a lot of convenience through the conference. For example, if you want to add a new section to your site, you can create a "module", upload it to a known location Area, probably can update a config file, and it can make more than the stars on your site.
This is the structure that can take care of your database details or pull data from other services (or providing data through the service). This can automatically create pages based on a template for you. This URL can be careful to "make your link" brighter by routing, it can help you to ensure that none of your site links ever break - dynamically find out that pages Instead of manually hardcoding links, they allow you to separate your back-end concerns (business logic, data access, authentication, etc.) with your ideas, The page design is easily allowed to be updated.
question ...
-
The web framework generates the HTML pages displayed on the HTTP. There is no special magic here. You often write the same page yourself But the framework allows you to define the template for example, and a separate page is displayed based on your needs without your direct manual involvement.
-
Web structures do not store data, they can access it or provide it, but they themselves do not have any type of database. Web frameworks live on the server side and serve pages on client and process client inputs.
-
The jogo and rail are used on the back-end such as the framework, there are other configurations similar to JQuery which can be used for script-based activities for the script, But they are not a web framework in the same sense. Generally when someone says "web framework", they mean server-side.
Hope this will be helpful.
Comments
Post a Comment