working test playground, static invocation of methods and properties inside --DEFAULT/utility
updated makeWhere to makeCondition in db.class
some makeTable instantiations did ot have properties defined in db.class
added readNum, readNumAll, and readAll to the db class, made better use of static properties in register and login models -- registration, login, notifications, responses all working now
in db class, moved table to the last argument on the assumption that default tables have priority for models (and for non-defaults, we will set that when the constructor instantiates the db object), which cut the empty quotes when calling those methods. added settings.json for easy modification of globally accessible information. in notifications class, changed activate method to non-static because static ignores the constructor and the properties are not established.
removed ~ and added exclude file
working on json rpc type send/rec between controllers and models...
got the view->controller->model working, need to sort it out more though
greatly improved mvc -- added router file to abstract out the exact model locations (removed files.json) and implemented some special mino classes into the controller.loader to sync up with minoscript functionality
added ajax redirecting capabilities with a redirect() method in the responses model and a new conditional in controller.loader, implemented reveal modal (crudely), fixed the form handling in controller.loader using a new serializeJSON function and the js port of php implode, got logging in with sessions and dashboard redirect to work. whew!!
ton of updates -- added logout method to login model, fixed the special mino html classes, made the view-load area work better and added a fading logout notifier on the home page, just to name a few!
another breakthrough...switched to jquery 1.7 and am using .on() to delegate events down the view chain as they are loaded. moved the bulk of controller.loader into a new file, controller.js, which is required in the index file. onLoad class is still in controller.loader because i was not able to delegate that event with .trigger(), maybe i was doing something wrong...regardless, it all works now and is much better than the previous commit!
huge day. fixed onLoad html class issue, and now all the mino html class code is in controller.js...added forgot password functionality, !append option to the controller and responses model (which should probs be changed to resp for brevity), extra security checks and validation.
basically working version 1!
cleaned up a bit
lots of updates...added .loadSubView html class for loading a view into anywhere by id, class, etc. and changed url slashes to ~ because they were tripping out the setup, spent hours upon hours investigating to no avail. but i think ~ is good so whatever. probably a lot more changes i forgot about.
major overhaul in preparation for first public release. adjustments -- fixed an issue in email model where subject argument was not actually being implemented; replaced php var in activate and forgot views with urlArg because url args are passed through js now and set to replace urlArg values; charitable theme removed, jquery ui added with a slightly modified absolution theme (was not theming input type=email), normalize.css added; among other small fixes. files restructured -- controller folder has been removed since it seems pointless now that everything is in one js file; routers folder was added in the main dir to provide a single place for model and view routers; views and library were moved into client folder, to parallel server folder; rearranged the models, putting auth-related models into authorization folder. files simplified -- removed controller.loader and view.wrapper, because view-specific js could just be placed inside the view, or added to lib in a js file. || ALSO WANT TO NOTE || some cool tricks I did before that I forgot to note in commits: the history.js implementation required creating the dbl variable (used as enum 0,1) that prevents double view loads on initial page load (because a view load is attached to the state change event, and a pushState is called at initial load) -- because of this, I was able to push a pretty url on page load that removed any url variables from the bar while still grabbing them and converting them to js variables...which I had to do because php vars in views stopped working with history.js. in the future, I will probably also adjust the way url variables are handled so people do not have to work with php for every new case (now we are using substr on a case basis to remove the key from the value...would probably be better to latch onto = with an explode so we can use as many url vars as desired)
turns out that the db read method was not set up to return multiple rows! mysqli requires a while loop instead of foreach. got search and wildMatch methods working, and deleted some old unnecessary db class files. feeling pretty good...i am glad things are working that should have worked from the start. hah. i have learned how important it is to test things immediately after creating them. and to be cautious when working with new things, as old assumptions can be deadly. (looks like my github is becoming some sort of journal, but that is ok. i feel at home in the terminal.)
minor changes to index content and routers...isolated view and model directory paths in routers to prepare for adjustable locations involving the settings file
asset compiler works, added checking for files before it runs filters. i want to add caching asap because the process takes a long time, not sure why...maybe my netbook is having a hard time running YUI in java? anyway, yeah...just have to check the current files against the new ones and if they are different, run the compiler and dump them into a new css or js file. and if i end up hosting this as a cloud service, have to make sure i have the less and coffeescript stuff installed on the server so assetic can use it.