Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    Sebastian Heidbrink
    @HeSe
    Mapless helped here,... maybe we need the same thing for "showing" controllers.... a framework that takes care of it and guides you more through the process of rendering, initializing and showing stuff
    Sebastian Sastre
    @sebastianconcept
    well you are start to talk in a way that sounds like
    decoupling rendering from showing
    Sebastian Heidbrink
    @HeSe
    I do not want to need to implement a showThen:
    Sebastian Sastre
    @sebastianconcept
    that's the React and virtual-dom , mithril, etc thingies
    Sebastian Heidbrink
    @HeSe
    I do want to know that I override a showTemplate method and then a show subcontrollers method and the rest is more or less hidden
    Sebastian Sastre
    @sebastianconcept
    it's either a promise or a callback boy, there is no way out
    show me a clever way to hide that and that your way doesn't make us loose features and I might buy it :)
    Sebastian Heidbrink
    @HeSe
    yes... it is... and the framework shall decide for me... I just want to have two methods to implement. What to show and what to manipulate based on the model....
    okay I will do. because for a newcomer it is a pain to learn and not forget that sometimes you have to use a promise and sometimes not.... it took us way too long today to port the examples to mvc
    Sebastian Sastre
    @sebastianconcept
    I like this disconformity you show, but I like more that you sound like you know what to do about it
    Sebastian Heidbrink
    @HeSe
    well it is diffcult to explain it. Here are the objectves:
    I find showThen: a poor naming, since not the whole Controller is shown,... just the outer frame/temaple
    I find the fact that I need to take care of such thinkgs like promisses not very good,... since beginners have a hard time to understand it and keep it in mind and I think this is something the framework could handle in most cases.
    Sebastian Sastre
    @sebastianconcept
    create and renderThen: would fix that but the issue you raised in bigger
    Sebastian Heidbrink
    @HeSe
    I know. We should first use the current release and collect ideas. as long as nobody has used the current release, nobody will udnerstand this chat.
    Sebastian Sastre
    @sebastianconcept
    hehe true
    Sebastian Heidbrink
    @HeSe
    showDeferedDo: shows the intension at least a little better. showThen: yould also be interpreted like a navigation process...or what so ever,...
    Sebastian Sastre
    @sebastianconcept
    that's because you are not used to use enough js libraries!
    damn smalltalkers :D
    but it's okay we'll find a good one
    Sebastian Heidbrink
    @HeSe
    I'll try to update my stuff tomorrow afternoon and then we will see. I am sure we will find some more spots to tweak and optimize. And for both will will find a good solution.
    Sebastian Sastre
    @sebastianconcept
    I'm sure of it
    Sebastian Heidbrink
    @HeSe
    Amber brings the Smalltalk to the JS,... just have a look how much better the js lib app structuring got with the last release. Flow adds a lot of HTML tempalting and model change propagation to the mix. Now let's add rendeing/showing to it and we jsut need to focus an the beckend then :-D
    Sebastian Sastre
    @sebastianconcept
    Meteor did it well
    did you used it?
    Sebastian Heidbrink
    @HeSe
    Only the one based on the old Seaside Comet if you mean this
    Sebastian Sastre
    @sebastianconcept
    no that's crap
    I mean Meteor Meteor
    the one that got freaking 11M in funding
    Sebastian Heidbrink
    @HeSe
    no haven't used it
    Sebastian Sastre
    @sebastianconcept
    I'm removing the App from amber-flow it doesn't need any
    well meteor is pretty great
    Isomorphic APIs
    and MiniMongo on the frontend
    and it propagate changes "like magic" to backend and other clients
    the ws of flow are meant to help you to do the same
    Sebastian Sastre
    @sebastianconcept
    @HeSe amber-flow#0.3.16 is live
    Sebastian Heidbrink
    @HeSe
    @sebastianconcept I installed flow and then amber-flow on top of it..... now App class is missing, since it is part of the amber-mvc package....
    Sebastian Heidbrink
    @HeSe
    we need to add amber-mvc/deploy and remove the other amber-mvc entries to the deploy.json, right?
    Well, no that screws up the amber-mvc "grunt devel" process since the local.amd.json wont fit anymore... can once define two paths in one amd.json?
    Sebastian Sastre
    @sebastianconcept
    ah flow itself was not upgraded
    devel, deploy and grunt needs adjustment
    Sebastian Heidbrink
    @HeSe
    that is why a configuration maps browser in VASmalltalk comes so handy :-D :-D :-D But nobody wants to use the most superior code repository any more.... it is so sad
    Sebastian Sastre
    @sebastianconcept
    heh
    I belieive you, but the ligua franca is javascript so world will have to rediscover the idea
    Sebastian Heidbrink
    @HeSe
    @sebastianconcept I tried to bring APP.st to the amber-flow package, but somehow the App main start won't disply the page. even though the main.html is loaded.... I assume now the example.htmlk temaples are missing on this level since they are part of amber-mvc... on the other hand I feel like amber-flow needs it's own examples or maybe even just a link to the petshop?
    Sebastian Sastre
    @sebastianconcept
    wait a sec I'm upgrading
    I was in meeting, I'll finish in a bit