**** BEGIN LOGGING AT Tue Jul 08 02:59:59 2014 Jul 08 07:11:33 Good morning everybody! Jul 08 07:11:54 as I watch th elogs I didn't miss anything during my week leave :) Jul 08 08:04:33 hi pjetr Jul 08 08:05:50 hi Garfonso, what's up? Jul 08 08:07:15 nothing special. ;) Just fighting my way through life. Hehe Jul 08 08:08:48 one cup of coffee at the time :D Jul 08 11:10:48 * SimpsonTP is wondering what the best practices for going through application stages would be with enyo Jul 08 11:10:52 e.g. login screen etc Jul 08 11:37:53 I'd use panels. Jul 08 12:17:08 Good morning enyoers Jul 08 12:59:39 Garfonso, is that what scenes / stages were in mojo ? Jul 08 13:00:48 there is no such thing as scenes in enyo... but panels comes closest. Jul 08 13:01:21 but there is no stack, so you have to handle transitions yourself.. Jul 08 13:01:36 ok Jul 08 13:01:47 so you'de say a 'login' panel Jul 08 13:01:57 which basicly disables itself after succefull login ? Jul 08 13:01:59 for only a short detour, i.e. only login, I'd do a popup dialog, if the rest can be consistently done in two or three panels Jul 08 13:03:05 that's what I usually do.. for example a news reader, I created a login pop dialog ( https://github.com/Garfonso/MoboReader/blob/master/source/views/AuthDialog.js ) Jul 08 13:03:17 but the article list and article content are organized in a panels kind Jul 08 13:03:50 but you can also add the login-stuff to the panels kind, too. Jul 08 13:04:16 actually nice that there is some noise on this channel :) Jul 08 13:04:23 ;) Jul 08 13:05:04 seriously Jul 08 13:05:11 okay I've completely overlooked the popup Jul 08 13:05:39 the nicest way to organize my stuff, that I found, till now, is to have a main panels kind. Then I create kinds for each pane and have a back-event that I react uppon in the main-kind. Jul 08 13:06:09 yup Jul 08 13:06:18 that is construct you saw in mojo as well Jul 08 13:06:39 so in your main kind with panel you check for a login, and if not available show the popup modal ? Jul 08 13:07:08 Yes... I thought about creating a generic panels-stack kind that you can push / pop like in mojo,... but I never found the time to do it. ;) Jul 08 13:07:22 There is also a ViewController, and new Application kinds, which can take references to different Views Jul 08 13:07:31 no Animations between setting new views though, that would be nice Jul 08 13:08:02 SimpsonTP: yes. Jul 08 13:08:11 so there a login popup would be a view ? Jul 08 13:08:27 * SimpsonTP thinks there is not enough sample code on this subject Jul 08 13:09:16 yeah.. for the MVC stuff it is not soo much code out there. Jul 08 13:09:24 I fought with that on the weekend, too. Jul 08 13:09:37 A popup could be a new view yes. Basically control that is set as the Application.view = new View(), get's drawn to the original render target Jul 08 13:12:21 I would see the popup if shared between views, like a login popup being a UI component of your app Jul 08 13:12:26 UI/popup.js Jul 08 13:12:39 Views/baseView.js Jul 08 13:12:42 could reference popup then Jul 08 13:12:55 and then all other views could derive from kind "baseView" Jul 08 13:13:30 this.checkLogin(); Jul 08 13:13:44 Need an Enyo pod cast :) Jul 08 13:13:48 then we can talk about all these goodies Jul 08 13:14:43 :) Jul 08 13:14:56 I've done some cure things with enyo already Jul 08 13:15:23 encapsulated linked data processing over UI elements Jul 08 13:15:48 nice :) Jul 08 13:16:42 so throw a bit of RDF against it and the UI element will populate themselves Jul 08 13:25:34 need to find some time to write it down in a blog post Jul 08 13:25:38 so little time ;) Jul 08 13:26:05 I'm already thrilled we use enyo productivly ( although in a static UI ) Jul 08 13:48:01 Yeah so little time :) Jul 08 14:29:58 whoa, a lot of activity here! Jul 08 14:30:03 * pjetr starts reading Jul 08 14:34:24 morning dmanderson Jul 08 14:35:23 and SimpsonTP, i think there's not enough sample code on any subject for that matter, but some subjects are worse :) Jul 08 14:36:05 But i still need to start working with the MVC enyo, since at work we haven't used that yet Jul 08 14:36:29 and I have no personal enyo projects in the pipeline… Jul 08 14:39:27 I'm not sure MVC is the way to go these days Jul 08 14:41:14 actually I never like MVC too much. Jul 08 14:59:09 I loved MVC for as3 Jul 08 14:59:15 anp still do for PHP Jul 08 15:00:02 you'll notice that i did some kind of trick and inverted that "d", not a typo, a trick Jul 08 15:08:27 and now I have to run Jul 08 15:08:29 * pjetr out **** ENDING LOGGING AT Wed Jul 09 02:59:58 2014