Developper, also a human with common sense and a will to make this world a better place.
Shit I did with AngularJS
Because it was so hype
I like to code
I also like when it writes (almost) itself
because it means more time to do whatever I like
And I'm an economous guy
- Java class main() redirected to file
- Template engine
was to write repetitive code. Because SPRING
Endpoint, Service, Dao
Times two because interfaces.
- Automating it
- learning hypee AngularJs
- getting less bored
So, I IMPLENTED
- A user : a developper
- A lonely AngularJs page
- A servlet
Types the name of a stored procedure and validates the form.
Gets the JDBC meta data of the input needed for the stored procedure.
And returns it to the page
Displays a renewed form, with inputs for the SP parameters
Inputs the SP parameters
Executes the SP and analyzes the resulting resultsets
It returns JSON describing a new form
Updates its form with more input fields, pre-filled. Each line has a java name, a java type as inputs and the jdbc column name and type as reference.
As the user types, the page's content (java classes) self updates by the grace of AngularJS's binding.
The user (me) copies, pastes the code in the ide
Leaving office at decent hour
And having a better work-life balance
Thank you for reading
PS: Now I use JBOSS FORGE
FOR SERIOUS STUFF
OR SPREADSHEET FOR ONE SHOTS