I will update to Mn 3.0 … I just have to get the next version of WooPOS out first :)
before I use any standard Backbone or Marionetter object, I extend it first so we have our own POS specific copy
these go in the config folder
this just gives us a chance to customise things as necessary
Thomas Mery
@thomasmery
understood
Paul Kilmurray
@kilbot
so you will notice even the Behavior object is extended
even though I don’t change anything
Thomas Mery
@thomasmery
saw that
_
Paul Kilmurray
@kilbot
but if at some stage we decide every POS behaviour should have a particular method, we only have to change one file
so the app.Route we extended yesterday is actually the config Route which just extends a plain Mn Object
as with the app.Router and the app.ItemView
Thomas Mery
@thomasmery
looking at them
Paul Kilmurray
@kilbot
there is some bad housekeeping in that folder also
receipt-view should be a component
it is just a view, but it is used in several sub apps
Thomas Mery
@thomasmery
do you want to start filing issues for these kind of things so maybe we can keep track of them and I could try to cleanup refactor - or it would be better not to waste time on this for now
Paul Kilmurray
@kilbot
I will leave it for the moment … a lot of these choices are arbitary. I think it would be good to discuss these things again once you are more familiar with the code
Thomas Mery
@thomasmery
ok
Paul Kilmurray
@kilbot
you might have some suggestions on simpler organisation
I have a lot of legacy ideas :)
Thomas Mery
@thomasmery
as you should :)
Paul Kilmurray
@kilbot
ok, so that covers the lib folder .. there is also some utilities in there, which is pretty self-explanatory
Thomas Mery
@thomasmery
I'll go through this on the week end
Paul Kilmurray
@kilbot
that’s it for the boring stuff, lets clone your example from yesterday and work with some data
don’t worry too much about absorbing all this on first look
Thomas Mery
@thomasmery
no, just familiarizing myself
Paul Kilmurray
@kilbot
I think you’ve got all the experience necessary to work on the project, I just want to give you a look around the project, gives you and I a chance to talk and then we can discuss hourly rate and hours if you want to get involved :)
Thomas Mery
@thomasmery
yep
I'm quite interested as you can see, I hope
Paul Kilmurray
@kilbot
yeah, it’s great to meet a WordPress developer with some javascript chops!!
so you should be able to command line to .html/wp-content/themes/twentysixteen/
Thomas Mery
@thomasmery
I'm there
getting back the changes from yesterday
Paul Kilmurray
@kilbot
then git clone https://github.com/thomasmery/wcpos-tutorial.git