**** BEGIN LOGGING AT Fri Jun 13 02:59:59 2014 Jun 13 07:00:01 morning Jun 13 07:03:13 morning Jun 13 07:31:36 goodmorning Jun 13 07:34:29 wohoo activity here :9 Jun 13 07:41:47 hehehe :D Jun 13 07:42:07 so what is everybody using enyo for ? Jun 13 07:45:37 I am using it for creating my own applications on my spare time. Mobile/Tablet kind of apps. How about you ? Jun 13 07:53:38 using it to prototype some tablet applilcations Jun 13 07:54:00 what are you using after the prototype phase ? Jun 13 08:05:31 open webos and some mobile UI clients for work projects. Jun 13 08:06:32 Wow nice. Did you port open webos in a mobile device Garfonso? Jun 13 08:09:07 me personally not, I'm not very much into the hardware stuff or linux-system, but weboports.org is doing that. During the open source process webOS lost quite some system apps that we need to rebuild (calendar, contacts, phone app, ...). Jun 13 08:09:39 http://webos-ports.org/ <- that's the correct url ;) Jun 13 08:10:39 currently working on Galaxy Nexus and Nexus 7 (the earlier version). It's based on Cyanogenmod internally, so probably all devices with CM10 should be possible targets. Jun 13 08:10:45 we should be using enyo after the prototype phase as well ;) Jun 13 08:14:22 does not really make sense to switch framework after prototyping. ;) Jun 13 08:14:36 yup Jun 13 09:14:48 and we use enyo for a static frontend app Jun 13 12:51:26 afternoon folks! Jun 13 12:55:25 trex0051: I'm not completely certain of what you're asking Jun 13 12:57:16 "Is there an instance scope variable in enyo? I know I can use window for a global namespace, but I don't want to share it across instances, and especially across other applications" Jun 13 12:58:20 not sharing across instances can be achieved by declaring them as "@protected" Jun 13 12:58:28 if that's what you mean Jun 13 13:00:15 good morning Jun 13 13:00:21 or afternoon Jun 13 13:00:23 evening Jun 13 13:00:25 :) Jun 13 13:09:50 afternoon it is :D Jun 13 13:10:00 morning to you Jun 13 13:10:52 :) Jun 13 13:33:10 http://www.total-knowledge.com/~ilya/mips/ugt.html ;) Jun 13 13:33:49 especially the last sentence is important. Hehe Jun 13 13:34:02 haha Garfonso Jun 13 13:34:03 I so wish Jun 13 13:34:04 :) Jun 13 13:44:01 yes, but I've been here a little while, so it's afternoon(UGT) for me :) Jun 13 13:44:16 and also just afternoon Jun 13 13:44:25 or doesn't that count? Jun 13 13:45:18 it counts! Jun 13 13:45:19 :) Jun 13 13:45:20 HAHAHA Jun 13 13:45:35 as long as I have some Enyo peoples to converse with in here :) Jun 13 13:45:50 Do you have Enyo meetups where you live? Jun 13 13:45:57 I've been thinking of holding a digital one Jun 13 14:01:15 Hello folks, anyone active here this morning? Jun 13 14:03:04 I am in my top level app.js, within a function, and I'm trying to access a control within my mainview. I tried this.$.ControlName, but it does not seem to exist. Is there another way to access it? Jun 13 14:06:26 hi trex0051 Jun 13 14:06:47 Most of the time you do not want to access controls across components. Jun 13 14:06:56 Are you using 2.4? Jun 13 14:07:13 I think it's 2.3... actually Jun 13 14:07:17 hold on Jun 13 14:07:48 version is not in a readme :( Jun 13 14:08:02 you can totally do it, but it would be this.view.$.ControlName if you are using a ViewController/Application kind Jun 13 14:08:15 generally you would want to bubble up and down to keep it disconnected Jun 13 14:08:52 I think I understand what you are saying... do you have a minute for me to run my scenario by you? Jun 13 14:08:59 Totally Jun 13 14:09:56 It's an application where I have a socket.io connection to the server. I'm handling that connection in app.js. So I'm basically doing everyting in app.js and sending out commands from there Jun 13 14:11:04 since it's a game, when a certain game screen loads, I have that game screen register with app.js, and then when the commands come from the server, I have app.js call that control's functions. Jun 13 14:11:18 it is kind of messy.... but I could not think of another way to do it Jun 13 14:12:38 Okay... I just re-read that, and not understanding the code, it made no sense at all... :) Jun 13 14:12:44 Let me try again. Jun 13 14:13:42 There are multiple game boards, let's say Chess and checkers.... Jun 13 14:17:03 When the player chooses Chess, the chessboard registers with app.js Jun 13 14:17:45 however all the boards have the same basic commands that can come from the server, for example "MovePiece(from_x,from_y,to_x,to_y) Jun 13 14:18:26 so if that command comes in to app.js, it says "what gameboard is registered? Okay, Chess, I will pass the command there... Jun 13 14:18:31 Is there a better way? Jun 13 14:19:01 lets assume using 2.4 for now :) to make it easy Jun 13 14:19:27 in app.js you would have kind:"Application" , that has a view property. Jun 13 14:19:48 you could just define the board a separate View Jun 13 14:20:06 and then the application would always send commands to view.MethodName Jun 13 14:20:23 you could have various properties on it if you needed to the know the board Jun 13 14:20:32 You've pretty much done the same thing, but most likely more manually Jun 13 14:20:36 just assuming without seeing the code really Jun 13 14:21:28 but after using bindings, maybe even a webservice controller, there would be few things to alter when ever you wanted to create a new game board Jun 13 14:22:10 {name: "GameBoard", defaultMethod: function(){}} Jun 13 14:22:24 {name:"Checkers", kind:"GameBoard"} Jun 13 14:23:14 then if you needed to alter things, but still call base functions you can take advantage of enyo.inherited Jun 13 14:23:37 * dmanderson re-reads Jun 13 14:24:14 Yeah I mean you're doing it fairly well. Jun 13 14:24:18 You could bind to properties Jun 13 14:24:28 and use observers if you wanted to kick it up a notch Jun 13 14:25:30 Hope that makes sense :) I'm always game for a google hangout to chat it out Jun 13 14:25:35 Usually easier sometimes Jun 13 14:29:29 I think I bit off more than I can chew.... I need smaller chunks :) Jun 13 14:31:37 observers are nice :) Jun 13 14:38:03 @dmanderson: no we don't have enyo meetups here Jun 13 14:41:20 need to start having a #enyojs meetup then ;-) Jun 13 14:45:59 Another Question :-[ ... I'm changing a published property, but it does not seem to be firing the whateverChanged: function(oldVal){} function. Do I need to call something to fire that? Jun 13 14:46:49 I'm just changing it from it's parent by calling this.$.ControlName.whatever = 'Something'; Jun 13 14:52:09 use setWhatever Jun 13 14:52:16 or set('whatever' Jun 13 14:52:34 instead of .whatever Jun 13 14:53:20 Using the setter/getter methods or bindings will fix that, and allow Enyo to fire off observed mutations Jun 13 15:01:19 duh.... I should have known :) Jun 13 15:01:32 Thanks dmanderson Jun 13 15:01:43 np! Jun 13 15:01:46 glad to help! Jun 13 15:03:34 so, the weekend has landed Jun 13 15:03:41 * pjetr waves Jun 13 15:03:48 have a good one! Jun 13 15:03:51 * pjetr out Jun 13 15:03:56 ciao Jun 13 15:06:00 encapsulation / waterfalling and bubling rocks :) Jun 13 15:19:29 best parts of Enyo SimpsonTP! Jun 13 15:23:42 If I have a FittableColumns, with two columns, is there a simple way to flip the order of the columns so they are displayed on opposite sides? Jun 13 17:39:49 still people awake ? Jun 13 17:41:57 still awake at 1:45p, yup Jun 13 17:42:01 :) Jun 13 17:42:30 I'm using the bootplate to get my enyo stuff started, but it seems rather bloated to me, isn't there a smarter way ? Jun 13 17:42:54 I end up with redundant files over and over again Jun 13 17:44:39 LOL yeah 12:46pm here Jun 13 17:44:55 I just use a blank directory SimpsonTP Jun 13 17:45:01 is 19:46 here Jun 13 17:45:03 dmanderson, -v Jun 13 17:45:11 with a deploy.json Jun 13 17:45:35 -vv Jun 13 17:45:44 /deploy.json /src/package.js Jun 13 17:45:48 that's about all you really need. Jun 13 17:46:07 and then point to some central repo where enyo itself is stored ? Jun 13 17:46:25 * SimpsonTP uses maven a lot, but I couldn't find anything like that for javascript Jun 13 17:46:28 I have an unpolished grunt plugin https://www.npmjs.org/package/grunt-enyo-builder Jun 13 17:47:21 but other wise yes, you can clone the repo into a central location, and just use deploy.js Jun 13 17:48:04 there is also a cli tool https://www.npmjs.org/package/enyo Jun 13 17:48:34 a few options to help that kinda of problem, what ever suits you :) Jun 13 17:50:36 hmmm I see some room for improvement there Jun 13 17:51:59 so your /deploy.json is pointing to src/package.js Jun 13 18:09:43 yea or another place, gen src Jun 13 18:10:10 and you use that grunt builder ? Jun 13 18:39:16 dmanderson, the grunt builder you created still needs layout / onyx in my project ? Jun 13 18:40:38 if you need them yeah, you would want to toss them in a $libs folder, it makes no assumptions on the dependencies of the app Jun 13 18:40:48 k Jun 13 18:40:49 there is a yeoman project now for scaffolding as well Jun 13 18:41:05 http://andregarzia.com/posts/en/enyogenerator/ Jun 13 18:41:05 dmanderson meant: there is a yeoman project now for scaffolding as well Jun 13 18:42:44 I don't want no samples in my project repo :-/ Jun 13 18:50:54 ha Jun 13 19:53:57 I do have a issue with running a app from source it seems Jun 13 19:54:07 $lib location seems screwed up now **** ENDING LOGGING AT Sat Jun 14 02:59:58 2014