Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Update on View Updates
03-05-2014, 02:17 AM,
#15
RE: Update on View Updates
(03-04-2014, 07:31 PM)Forums Wrote: It is a shame that this discussion has got caught up on jquery/bootstrap as to me the best part of the work that @serakfalcon has done is in the table and form classes, which I believe would bring something new and good to webERP. They deserve a lot more attention.

To be honest, my main goal is implementing view classes, the jQuery/Bootstrap elements are just to highlight some of the 'cool stuff' that is possible/easier to do once the classes are implemented.

(03-04-2014, 07:31 PM)Forums Wrote: once jquery is in weberp there are so many fun plugins it will quickly spread into every corner :-)

I think I'd like to enable that sort of thing, because plugins are great! While at the same time, allowing stripped down versions for people who want that sort of thing.

I've reworked my code so it doesn't automatically include jQuery etc., rather, themes themselves will decide if they need to include anything or not. I also reworked the classes to be instantiated by a master factory class, $MainView, which will be the main workhorse for all class-related activities. That also allows theme-specific custom classes to be built by extending the class $MainView is an instance of and overwriting $MainView with the new extended class. Hopefully that should make custom builds easier to manage.

I will go back through the code and create a new theme 'classic' which will look the same as present without jQuery, bells, whistles etc. It's pretty trivial since I'm building the classes around the current structure.

(03-04-2014, 05:27 PM)opto Wrote: to have table functions, sorting, in table edit and verification of edits I use jquery-datatables, the makeeditable plugin for datatables http://code.google.com/p/jquery-datatabl...i/EditCell which can be connected to jquery validation plugin, which also allows to add custom validation/verification code for nonstandard entries.
That's a great link! I can switch the code to use DataTables for the sorting etc. however for AJAX I am a little concerned that the current structure is not the best for making it work. Implementing AJAX on everything will be a goal for after this little project is complete.

I've published the latest changes to GitHub, forms are stable but only vertical forms are supported, and not all controls are implemented yet.
Reply


Messages In This Thread
Update on View Updates - by serakfalcon - 02-28-2014, 01:12 AM
RE: Update on View Updates - by serakfalcon - 02-28-2014, 11:37 PM
RE: Update on View Updates - by phil - 03-01-2014, 01:53 PM
RE: Update on View Updates - by serakfalcon - 03-01-2014, 03:53 PM
RE: treating numbers as 'numbers' - by opto - 03-01-2014, 09:50 PM
RE: Update on View Updates - by Forums - 03-01-2014, 07:13 PM
RE: Update on View Updates - by Forums - 03-01-2014, 10:00 PM
RE: Update on View Updates - by Exsonqu_Qu - 03-03-2014, 09:38 AM
RE: Update on View Updates - by opto - 03-03-2014, 10:44 PM
RE: Update on View Updates - by serakfalcon - 03-04-2014, 12:35 PM
RE: Update on View Updates - by opto - 03-04-2014, 05:27 PM
RE: Update on View Updates - by Forums - 03-04-2014, 07:31 PM
RE: Update on View Updates - by serakfalcon - 03-05-2014, 02:17 AM
RE: Update on View Updates - by Forums - 03-05-2014, 04:12 AM
RE: Update on View Updates - by opto - 03-04-2014, 08:15 PM
RE: Update on View Updates - by Exsonqu_Qu - 03-05-2014, 01:40 PM
RE: Update on View Updates - by serakfalcon - 03-05-2014, 04:03 PM
RE: Update on View Updates - by Forums - 03-05-2014, 09:56 PM
RE: Update on View Updates - by Exsonqu_Qu - 03-06-2014, 06:36 PM
RE: Update on View Updates - by Forums - 03-06-2014, 06:47 PM
RE: Update on View Updates - by Forums - 03-05-2014, 06:43 PM
RE: Update on View Updates - by serakfalcon - 03-05-2014, 10:58 PM
RE: Update on View Updates - by opto - 03-05-2014, 08:11 PM
RE: Update on View Updates - by Forums - 03-05-2014, 08:21 PM
RE: Update on View Updates - by Forums - 03-05-2014, 11:21 PM
RE: Update on View Updates - by serakfalcon - 03-06-2014, 12:54 AM
RE: Update on View Updates - by opto - 03-06-2014, 10:15 PM
RE: Update on View Updates - by serakfalcon - 03-08-2014, 03:34 AM
RE: Update on View Updates - by Forums - 03-09-2014, 06:43 AM
RE: Update on View Updates - by icedlava - 03-09-2014, 10:51 PM
RE: Update on View Updates - by Forums - 03-10-2014, 04:58 AM
RE: Update on View Updates - by serakfalcon - 03-10-2014, 04:08 PM
RE: Update on View Updates - by icedlava - 03-10-2014, 04:53 PM
RE: Update on View Updates - by serakfalcon - 03-19-2014, 07:12 PM
RE: Update on View Updates - by serakfalcon - 04-04-2014, 03:03 PM
RE: Update on View Updates - by icedlava - 04-04-2014, 06:12 PM
RE: Update on View Updates - by serakfalcon - 04-04-2014, 07:24 PM
RE: Update on View Updates - by serakfalcon - 05-07-2014, 07:07 PM
RE: Update on View Updates - by wubuer198 - 12-10-2015, 05:13 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)