In one module of an application I am building (I already developed it using ASP at the server side) I offer to the the user (that is a seller) the possibility to set a certain number of custom views: custom views are customized ways a seller can view data (formatted in a classical HTML table) related to his clients.
On these data I am giving to the user 2 kind of possibilities of customization:
1) one related to WHICH columns (of the table containing the client data) he wants to view;
2) the other related to the ORDER under the which he wants those columns to appear in the table.
Even though - as I previously said- I already developed this module, I would like to optimize it some way by wrapping the whole in a COMponent.
A solution to which I an thinking about is the use of metadata (the name and the order of the colums) and/or maybe uthe use of an XML file that will store the preferences setted by the user: this file will have to be updated each time an user set a new custom view or modify an existent one.
Just a note: the values that will have to be passed to the COMponent are also: the seller ID (because the app will be used by many clients) and the viewID (because
each custom view will have its own view ID).
Thanks in advance.
What is Node.js?
Node.js is a server side scripting language much like PHP or ASP but is used to implement the complete package of HTTP webserver and application framework. The difference is that Node.js’s execution engine is asynchronous and event…
Viewers will learn one way to get user input in Java.
Introduce the Scanner object:
Declare the variable that stores the user input:
An example prompting the user for input:
Methods you need to invoke in order to properly get user input:
Learn how to create flexible layouts using relative units in CSS. New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).