**** BEGIN LOGGING AT Mon Sep 22 03:00:00 2014 Sep 22 13:51:49 goodmorning this beautiful afternoon! Sep 22 13:51:57 * pjetr hits the logs Sep 22 13:52:07 good morning Sep 22 13:56:00 so what's new? Sep 22 13:56:12 stopped reading :) Sep 22 13:56:44 not much Sep 22 13:57:10 Aside from a couple of questions from trex005 Sep 22 13:57:19 there hasn't been much discussion in here lately Sep 22 14:22:24 so nothing's changed during my 2 weeks leave :) Sep 22 14:22:41 pretty much Sep 22 14:22:46 :) Sep 22 14:23:21 Enyo isn't suddenly the newest coolest kid in tech-land, resulting in millions of users overnight Sep 22 14:23:28 too bad actually :) Sep 22 14:24:10 wonder when that'll happen Sep 22 14:25:04 don't we all Sep 22 14:25:16 I think adoption is what we need for the language to really take off. Sep 22 14:25:58 and how do you drive adoption ? Sep 22 14:26:43 I'd start with conferences, webcasts, tutorials, … Sep 22 14:26:57 Have something viral that is built in enyo Sep 22 14:27:05 if I had the time for it, that is :) Sep 22 14:27:08 SimpsonTP: Connectors and Salesmen Sep 22 14:27:54 pjetr, the short version is community Sep 22 14:28:11 I've already suggested to dmanderson to have the website in github Sep 22 14:28:31 so you can easily add tutorials / code snippets etc Sep 22 14:28:40 yeah, but you can't force a community Sep 22 14:28:45 trex005: drop "Never Gonna Give You Up" in the source somewhere? :P Sep 22 14:28:54 ^^ Sep 22 14:29:15 shudder Sep 22 14:29:35 true, but people in communities are in general lazy and want to influence the outcome with just a tiny bit of effort Sep 22 14:30:21 Honestly, there are a couple of important things that should be done to help push Enyo in the right direction Sep 22 14:30:30 1) Better documentation Sep 22 14:30:36 this is supposedly being worked on Sep 22 14:31:13 well but thats something the community could help with Sep 22 14:31:19 2) Key apps that showcase why it is good to use Enyo (not a demo) Sep 22 14:31:50 3) Better communication with the community Sep 22 14:32:13 We need more people in this channel telling us how awesome their framework is Sep 22 14:32:18 and helping people Sep 22 14:32:44 As well as more discussion about future goals Sep 22 14:33:06 where the community can see Sep 22 14:33:41 This channel is very nice, but the forums are weak too Sep 22 14:33:42 I generally knew most of what was going to be in 2.3 (which then became 2.4) due to them telling us their plans Sep 22 14:33:52 I have *no* idea what 2.5 is planned to do Sep 22 14:47:43 morning chall Sep 22 15:15:27 * pjetr waves Sep 22 15:15:30 bye room Sep 22 15:38:58 morning GodGinrai Sep 22 15:46:11 Zectbumo: yeah, they changed up enyo.Store AFTER I wrote that example Sep 22 15:46:13 good times Sep 22 16:02:46 sugardave: I wrote down some suggestions Sep 22 16:15:28 Zectbumo: did you post them somewhere? Sep 22 16:15:40 no not sure where Sep 22 16:17:58 post it to forums.enyojs.com and I'll point dmanderson to it Sep 22 16:22:10 sugardave: is there a source doc I can edit and give a diff to or just make bullets in my post? Sep 22 16:23:20 I originally provided a git repo for all the example I wrote, but that's too easy for some groups across the water. I guess it's best just write up a list and post it to the forums Sep 22 16:23:30 s/example/examples/ Sep 22 16:23:31 sugardave meant: I originally provided a git repo for all the examples I wrote, but that's too easy for some groups across the water. I guess it's best just write up a list and post it to the forums Sep 22 16:30:06 morning enyos Sep 22 16:31:41 morning dmanderson Sep 22 16:35:35 morning dmanderson, I'm working on some doc edits Sep 22 16:35:43 nic Sep 22 16:35:44 *nice Sep 22 16:36:06 is enyo.store.addSources old, or upcoming? Sep 22 16:36:48 obsoleted Sep 22 16:37:06 or actually, don't listen to me Sep 22 16:37:24 so the proper way is enyo.sources.ajax = new enyo.AjaxSource(); ? Sep 22 16:37:27 I think it is still there, but the problem is that Enyo doesn't make a default store anymore Sep 22 16:37:55 the text "addSources" does not appear anywhere in the source Sep 22 16:38:03 well, there you go Sep 22 16:39:54 Yeah I think sources have been changed in the latest 2.5.1 + builds Sep 22 16:40:01 it would be nice to have some default sources get added to the list, or at least call an sources init method to do so. I noticed that if you pass true to a Model/Collection.source attribute that it will attempt all sources, so maybe that's why sources is empty now? Sep 22 16:41:03 2.5.1? Sep 22 16:41:12 even tho' we haven't had a 2.5 release yet? <.< Sep 22 16:41:42 I just pulled the source from github the other night Sep 22 16:59:25 gah, I thought you were talking about the tutorials on LG's site, Zectbumo. Now you can really ignore most of what I said Sep 22 16:59:28 oops! Sep 22 17:02:07 I'm talking about the docs here http://enyojs.com/docs/latest/building-apps/managing-data/building-data-driven-apps.html#sources Sep 22 17:02:17 yep yep Sep 22 17:02:19 but I'm looking at the github source to confirm what the docs say Sep 22 17:02:32 Roy__ or dmanderson are going to be your best there Sep 22 17:02:33 should I be looking at the github docs? Sep 22 17:46:23 @Zectbumo What's up? Sep 22 17:46:43 Quite a bit changed in the data layer between that page and what's in master. Sep 22 17:46:50 Roy__: just writing up some doc edits in the forum Sep 22 17:47:04 We have a migration document. Sep 22 17:47:12 Let me see if it's currently public. Sep 22 17:51:57 Sadly not. I can help you out with any questions you have, though. Sep 22 17:52:32 " • The way in which bindings are initialized and resolved has been rewritten so that you no longer need to prefix theto and from properties with a dot ("."). While the old syntax will still work, it results in unnecessary string parsing, so you should use the new syntax for a slight boost in performance." Sep 22 17:53:56 Roy__: I had a question about how to add sources since enyo.store.addSources method doesn't exist anymore. I've been doing enyo.sources.ajax = new enyo.AjaixSource(); Sep 22 17:54:49 Yes, I was about to paste that one. Sep 22 17:54:59 Try: enyo.AjaxSource.create({name: 'ajax'}); Sep 22 17:55:34 • enyo.Source is no longer considered to be a singleton and is not automatically available in a given application. Sources that need to be available to the app must be instanced, usually within the enyo.ready() function call, where the enyo.Application instance is created. It should also be noted that sources no longer interact withenyo.Store at all. Sep 22 17:56:16 Roy__: btw, I forgot to make a report on Jira, but the new binding initialization breaks global (^) bindings Sep 22 17:59:24 Got a fiddle I can point to? Sep 22 18:01:26 I believe so... let me try to find it Sep 22 18:10:20 The person who originally reported it is psarin, IIRC. He was in the channel as "Cage1" Sep 22 18:10:23 Roy__: http://jsfiddle.net/d4d8cwan/2/ Sep 22 18:10:40 If you change the version of Enyo in that fiddle to 2.4, you will see that it works Sep 22 18:10:47 whereas it doesn't w/ the nightly Sep 22 18:12:45 Roy__: The specific problem is in the ready() function in Binding.js. The code that sets the source based on enyo.getPath (when the first character is ^) ends up setting the source to the value the variable is pointing to. So in that fiddle, instead of the source being the online variable, it is set to "true" Sep 22 18:14:09 Roy__: specifically, these lines are the problem: https://github.com/enyojs/enyo/blob/949cbfab478ce77ba82efb7f12ecaa13e3c2c260/source/kernel/Binding.js#L43 and https://github.com/enyojs/enyo/blob/949cbfab478ce77ba82efb7f12ecaa13e3c2c260/source/kernel/Binding.js#L59 Sep 22 18:17:12 Thanks for the report. I'm letting Cole know and will file a Jira. Sep 22 18:17:24 Alright, thanks :) Sep 22 18:32:59 Ok I posted the doc edits here http://forums.enyojs.com/discussion/2222 Sep 22 18:35:51 dmanderson: that's the issues I found going through the data source docs trying to learn how to do it Sep 22 18:37:44 Thanks Zectbumo! Sep 22 18:38:04 I hope that is helpful Sep 22 18:54:30 GodGinrai: From cole: If you set the source to the global object (which would have to exist already anyway) and the path then relative to that source, it should work Sep 22 18:54:45 As a workaround. Sep 22 18:56:02 Yea, in the mean time, that should work. For Cage1's puproses, I had suggested he just put his Model in his enyo.Application and bind to that as a workaround Sep 22 18:56:17 Zectbumo: A lot of that will be correct when docs for 2.5.0 are pushed. Currently, the docs are for 2.4.x Sep 22 18:56:30 I see Sep 22 18:56:33 Thanks for the reports, though. Sep 22 18:56:39 np Sep 22 18:57:02 I will see about getting the syntax error corrected Sep 22 18:57:29 immediately. Sep 22 18:57:34 :) **** ENDING LOGGING AT Tue Sep 23 03:00:00 2014