Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Dec 04 11:17
    kilbot synchronize #161
  • Dec 04 11:17

    kilbot on master

    customer api (compare)

  • Nov 10 16:28
    danilodorgam opened #224
  • Oct 30 07:06
    dependabot[bot] labeled #223
  • Oct 30 07:06
    dependabot[bot] opened #223
  • Oct 30 07:06

    dependabot[bot] on npm_and_yarn

    Bump lodash from 4.17.11 to 4.1… (compare)

  • Oct 18 07:05
    HDB8129 commented #42
  • Oct 07 04:35
    GhostRecon03 opened #222
  • Oct 06 09:35
    KevWal opened #221
  • Sep 21 13:29
    wake2ouk opened #220
  • Sep 11 16:32
    kilbot commented #218
  • Aug 29 16:57
    thomasmery unassigned #18
  • Aug 29 16:57
    thomasmery removed as member
  • Aug 29 16:56
    thomasmery removed as member
  • Aug 29 16:48
    itsDawn opened #219
  • Aug 28 09:06
    atxcowboy edited #218
  • Aug 28 09:05
    atxcowboy opened #218
  • Aug 16 04:03
    kirahmadlare opened #217
  • Aug 13 12:17
    kilbot synchronize #214
  • Aug 13 12:17

    kilbot on 0.4

    0.4.24 (compare)

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
Thomas Mery
@thomasmery
done
Paul Kilmurray
@kilbot
then update the functions file to correct the path
include ‘wcpos-tutorial/reports.php'
Thomas Mery
@thomasmery
ready
had to change the js enqueue url but that's done
Paul Kilmurray
@kilbot
ah .. I see .. I’m just cloning as well so I can code with you .. I’m making this up as I go along so hopefully everything goes smoothly :)
What we’ll do is get all the orders and display an sum of all order totals
this will let me cover a couple of important things
Thomas Mery
@thomasmery
great
Paul Kilmurray
@kilbot
sorry, now my docker is down :/
one sec
Thomas Mery
@thomasmery
no pb
Paul Kilmurray
@kilbot
ok, we’re back .. I stupid updated docker
mid-demo
ok .. so the data controllers are all in the entities folder
these are just Backbone Collections and Models
this will be different to most tutorials I imagine
but it makes sense to me, especially because data is used in different subapps
so it makes sense to keep it separate
there is an Entities Service
Thomas Mery
@thomasmery
they are shared
Paul Kilmurray
@kilbot
yep
Thomas Mery
@thomasmery
the service abstracts interacting with the different entities?