A programming language in just one line of code

A programming language in just one line of code

The URL Programming Language, or UPL, as its name suggests, is a language oriented to be used in the URL of the browser.

But then comes the question: How is it possible programming in just one line of code?

The answer lies in the architecture of Amithings, which is based on seven principles that prepare Information to be viewed through a powerful feature of Amithings, the Views, eliminating the time spent to transform data.

Note that in the standard syntax of UPL, a list of nested functions is performed from left to right:

 

http://app.amithings.com/function1(parameter).function2().function3(parameter1, parameter2,…)…

 

All existing complexity in traditional programming languages, such as Java, PHP and .NET, have been removed, so, forget about single quotes, double quotes, escape characters, semi-colons, braces, brackets, the endless if-then-else, and all sorts of punctuation characters.

There remained only the alphanumeric characters, the brackets, the commas and the dots.

It was thinking about the fact that programmers around the world spend much of their time writing the same lines of code, to, in the end, reach the same results, that the UPL was created.

Its biggest difference lies in the fact that the functions of UPL does not return data, but Information and Solutions, ready for use, as Web Pages, Web Forms, Widgets, Components, and even entire Applications.

It is important to note that the extensive library of low-level functions, present in most programming languages, became dispensable in UPL, since the processes of  transformation of data are irrelevant.

We expect that UPL is accessible to persons with no experience or skill in programming.

The expansion of the language will come naturally insofar as the Views and Functions created by the users become standards for its use.

 

Obtaining Information in data format:

 

Returning a set of Information in XML format:

http://app.amithings.com/information(@2w4B).rows(1-10,15,16,200-205,230-).view(xml)/

Returning a set of Information in JSON format:

http://app.amithings.com/information(@39f5c4).rows(1-10).columns(1-3,5).view(json)/

 

Viewing Information:

 

Returning an HTML 5 web page based on a set of Information with specific settings:

http://app.amithings.com/information(@815F).columns(1,4).view(html5).charset(utf-8).language(en-US)/

Showing a dropdown list in Twitter Bootstrap style:

http://app.amithings.com/information(countries).columns(1,2).view(html-select).layout(bootstrap)/

How about showing the books of the Holy Bible in e-book format?

http://app.amithings.com/information(holy-bible).rows(1-100).columns(4-6,9).view(book)/

Presenting a line chart for all dollar rate in 2014:

http://app.amithings.com/information(dollar-rates).columns(date,value).column-filter(year,2014).view(line-chart)/

Retrieving a statistical correlation html table in Twitter Bootstrap style:

http://app.amithings.com/information(@4abffB).columns(1,2).information(@4ac0ff).columns(1,2).statistical-correlation().view(html-table).layout(bootstrap)/

 

 

Working with images and multimedia content:

 

Forget about the expensive and complicated graphics editing programs for treating your images.

With UPL you can manipulate images with hundreds of filters, tools and functions.

http://app.amithings.com/information(@ahx5jsm0).image-crop(10,10,100,100).image-rotate(90).image-blur(50).image-filter-clouds().image-convert(png,128)/

How about adjusting the volume of MP3 files with just one function?

http://app.amithings.com/information(@oo48s5F).mp3-normalize(89.0)/

 

 

Developers of mobile applications can access resources on Amithings by making url requests based on the UPL language.

Take a look at some UPL in action in Amithings Experiments.