Numerical counter

0

I'm making a control page for input and output of company equipment. I am using Boostrap as a framework, you could inform me how I do an accountant to manage the OS number. Or some help link on the internet, video, etc.
I imagine that with JQuery it is possible but I have no experience with this tool.
For the little knowledge I have in web programming I know I need a DB and something to communicate the page with this com.png" >
Thanks in advance.

    
asked by anonymous 24.09.2015 / 17:50

3 answers

1

From what I understand, you want to write this information to a database, right? If so, you'll need a server language (like PHP, Ruby etc) rather than jQuery.

Take a look at this link: link

Abs

    
25.09.2015 / 06:02
0

Its architectural tactic using the bootstrap framework supports its view-layer rendering requirements, but its strategy for meeting other back-end requirements is not listed.

Generally, this counter is not implemented in the view layer because there may be an error between what is rendered on the screen and the database data.

I suggest implementing this count as closely as possible to the database entity. If your back-end architectural tactic is Java EE, the counter can be persisted in the database and therefore will have a field in the JPA Entity to store it, or include a transient field to perform the count if it is not interesting to persist this data that can be inferred by other persisted data.

    
25.09.2015 / 13:44
0

Can you already search, insert or change something in the database? Have you done this on any screen?

If yes, you can create a field in your database of the integer type, not allowing null values and auto increment and as PK of the table.

In this way it will always exist, will be unique and will be in the order of registration.

So you just have to look for the field in the bank and show it on the screen.

I think this would solve your problem ... now if the user wants to change the data, do not put the field as Primary Key (PK).

    
25.09.2015 / 14:12