How Wrival Works

"It's still web development, it's just way easier!"



HTML and CSS only positions and affects how content is displayed in a browser (e.g. making text bold or giving something a border). Then JavaScript provides us with a way to manage the events within a page such as when a user clicks on something. HTML, CSS, and JavaScript are all managed and executed by the browser. This is known as the client-side.


Wrival is a server-side language. When a request for a web page is made a web server fetches the request, such as an html file, and then returns it the browser that made the request. Unless a server-side language intervenes, that file is delivered exactly as it is (known as static). This means that all requests will get the exact same content. But what if we want to change details that are included within a web page based on who's requesting it? The user might be wanting to view their account information, review their order, use a contact form to send an email, or get search results using their keywords. Using just a static file will not work for these types of things.

The other benefit is for website maintenance. If you have thousands of products or articles that you want online, with the use of a server-side language, you can simply create a process and format for how to list the products or articles. Keeping the product data separate makes managing it far more efficient and reusable. Without a server-side language you would have to manually write the formatting for every product and the data would be far more time-consuming to maintain.

How Wrival Works

Wrival has server-side variables, functions, and operations built-in to it and they are all available to use directly inline within any content. This is done by using "Wrival Inserts." They look very similar to html tags, but instead of being sent to the browser as they appear inline (just like static content), they are first extracted, evaluated, and the result of the evaluation is then reinserted where the Wrival Insert originally was placed. This provides an extremely efficient way to generate and deliver secure dynamic content by reusing data from the server, databases, and/or other files.