Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • Mar 19 2015 18:07

    jgornick on master

    Cleanup some methods with short… (compare)

  • Mar 16 2015 18:46

    jgornick on master

    Adding data source example in d… (compare)

  • Mar 13 2015 21:29

    jgornick on master

    Reorg with grunt and browserify… (compare)

  • Mar 13 2015 18:24

    jgornick on master

    Add sublime text project (compare)

  • Mar 13 2015 18:24

    jgornick on master

    Add gitignore (compare)

  • Feb 20 2015 22:48

    jgornick on master

    Starting to scaffold out widgets (compare)

  • Feb 20 2015 17:04

    jgornick on master

    Create README.md (compare)

Joe Gornick
@jgornick
@samccone Both.
Sam Saccone
@samccone
awesome, love it when it works out like that
Joe Gornick
@jgornick
There's a need for my day job, but also pretty much any project I touch.
Sam Saccone
@samccone
word, well let me know if I can be of any help
:)
Joe Gornick
@jgornick
Sam Saccone
@samccone
I dont think I will be able to help code wise just because i am focused on the next releases of marionette and docs … but like.. anything else lean on me
Joe Gornick
@jgornick
@samccone Very cool and thank you :)
Sam Saccone
@samccone
but who knows
i am like an ADD kid
i will prob jump in and write something
Joe Gornick
@jgornick
I think right now, I'm just at a point of not so much implementation but like I said earlier about putting pieces together and connecting the dots.
Trezy
@trezy
@samccone “Like” an ADD kid? :-P
Sam Saccone
@samccone
hahahaha
SOML
Joe Gornick
@jgornick
So, any insight I can get from others regarding data sources, widgets, etc is awesome.
Joe Gornick
@jgornick
Don't know if this makes sense but identifying parts of the framework: https://gist.github.com/jgornick/ead6742f804a95b5b86c#domain-language
Lance Batson
@Lbatson
hey @jgornick in the example at the bottom with the datasource and layoutview, is the widget sort of a controller there that’s going to populate the model/collection and then render the layout/collection/itemview?
Joe Gornick
@jgornick
@Lbatson Original thoughts are a Widget will be a controller-of-sorts that manages the view to display, settings view and the widget model.
Lance Batson
@Lbatson
cool, yea that’s what it looked like to me
Joe Gornick
@jgornick
Hello all, I've created a temporary repository to hold some of the files while designing out the dashboard framework: https://github.com/jgornick/mdashboard
With this initial commit, I think I've got a decent implementation of data sources.
Important with dashboards are sharing/multiplexing of connections, and DataSourcePool does that.
Joe Gornick
@jgornick
I also added the DataSourceRegistry which contains the available DataSource classes to use in a case when you allow a user to create their own data sources (similar to freeboard).
Abiee Alejandro Echamea Márquez
@abiee
Any toughs about how to register widgets?
Joe Gornick
@jgornick
@abiee I do.
1 minutes.
Joe Gornick
@jgornick
@abiee I think that widgets can be made available in the same way that data sources are, via a Registry.
Abiee Alejandro Echamea Márquez
@abiee
Are they will register themselves?
Or the user will_
?
Joe Gornick
@jgornick
I was thinking that maybe use Radio to register a widget class via a command.
DataSources will probably do the same.
So, when the file is loaded/included, there will be a line at the bottom of the file that does something like Radio.command('dataSources', 'register', HttpDataSource);
Since they are singletons, I see no issues with routing the commands through Radio.
I'm using DataSource here, but as I see right now, a Widget will be a similar implementation.
Where the widget will register itself with a registry of sorts.
Joe Gornick
@jgornick
Hey guys, still active here, just priorities changed at work of late, so haven't been able to put too much time into the dashboard work :worried:
Joe Gornick
@jgornick
Hey guys, making some time to work on the dashboard framework. Pushed a few updates today.
Have a good weekend!
Joe Gornick
@jgornick
Just pushed some more commits for data sources. I feel like I'm getting pretty close on this part of the framework.
I also think too that the data sources could eventually be split out into their own project because they are decoupled from the widget framework.
There are some areas of the data source framework I'm not a fan of. One of them is connection management and instantiation.
Joe Gornick
@jgornick
There are some things I'm not feeling comfortable with the data source framework right now. #1 is how connections are created and managed on the data source and #2 is how we can change data source properties run-time, i'm a little cloudy on that.
Regarding #1, currently, there's a very specific way in which data sources need to be created and added to the data source pool. i'd like this to be more lazy loaded and better managed through the pool when properties on a data source -> connection are changed
Joe Gornick
@jgornick
Hey @/all, I haven't had much time since the 19th to work on the framework, but I was wondering if anyone has some input to fix some of my concerns with the data source framework?