Presentation is loading. Please wait.

Presentation is loading. Please wait.

FUDCon Toronto 2009 Luke Macken

Similar presentations


Presentation on theme: "FUDCon Toronto 2009 Luke Macken"— Presentation transcript:

1 FUDCon Toronto 2009 Luke Macken lmacken@redhat.com

2 [ why? ] [ the past ]

3 [ why? ]

4

5 [ what? ]

6 [ platform ]

7 [ framework ] [ framework ]

8 [ platform ]

9 [ hub ]

10 community [ community ]

11 [ goals ]

12 data aggregation [ data aggregation ]

13 data interpretation [ data interpretation ]

14 [ data persistence ]

15 [ data visualization ] [ data visualization ]

16 scalability [ scalability ]

17 [ how? ]

18

19

20 [ the present ] Solid proof-of-concept A solid purpose Modular ● Apps/widgets pulled out into packages Lower barrier for entry ● RPM & virtualenv installation ● Quickstart templates for various components TG2 integration 100% AMQP support ● From the browser to the broker API Test suite! Many extremely useful plugins already written Multiple deployments already in production

21 [ architecture ]

22

23

24 [ apps ]

25 http://docs.turbogears.org/2.0 http://moksha.csh.rit.edu/tg2tut

26 [ apps ]

27 [ widgets ]

28

29 [ live widgets ]

30

31

32 from moksha.api.widgets.live import LiveWidget class MyLiveWidget(LiveWidget): topic = 'moksha.test' params = ['id', 'topic'] onmessage = "$(' ').text(json.message).appendTo('#${id}');" template = ' ' def update_params(self, d): """ Server-side render-time logic """ super(MyLiveWidget, self).update_params(d)

33

34 [ producers ]

35

36 [ consumers ]

37

38 [ messaging scenarios ]

39

40

41

42 [ demo ]

43 http://moksha.csh.rit.edu

44 [ demo ] [ diving in ]

45 $ git clone git://git.fedorahosted.org/git/moksha http://moksha.csh.rit.edu/apps/docs/main/GettingStarted.html $ git clone git://git.fedorahosted.org/git/moksha

46 $ vim development.ini $ vim orbited.cfg Hooking it up to Fedora's AMQP broker

47 $ paster moksha --consumer Consuming messages

48 $ paster moksha --livewidget Creating a live chat widget

49 Sending messages with the MokshaHub API to Fedora's Qpid AMQP server >>> from moksha.api.hub import MokshaHub >>> hub = MokshaHub() >>> hub.send_message('org.fedoraproject.org.chat', {'name': 'foo', 'message': 'bar'}

50 Using Moksha in TurboGears2 Using TurboGears2 in Moksha http://moksha.csh.rit.edu/apps/docs/main/IntegratingWithTG2.html

51 [ the future ] Moksha Labs ● Slimming down the core, improving modularity ● Cultivate collaborative plugin community ● “wiki” of widget dashboards, knowledge base, etc Fedora Community ● https://admin.fedoraproject.org/community https://admin.fedoraproject.org/community ● Monitoring & reacting to events, in real time ● Facilitate various workflows ● Quests. ● Lots of developer-focused apps ● Eventually lots of user-focused apps ● Quickstart templates for easily adding new apps CIVX ● http://civx.us http://civx.us $YOUR_APP_HERE

52 Experimental apps & widgets - Feed aggregator - CIVX http://civx.us - Hypertrees http://civx-dev1.csh.rit.edu:8080/tree - PTD - up up down down left right left right b a

53 [ References ] Moksha. http://moksha.fedorahosted.orghttp://moksha.fedorahosted.org CIVX. http://civx.ushttp://civx.us Fedora Community. https://admin.fedoraproject.org/communityhttps://admin.fedoraproject.org/community TurboGears. http://turbogears.orghttp://turbogears.org jQuery. http://jquery.orghttp://jquery.org AMQP. http://amqp.orghttp://amqp.org Orbited. http://orbited.orghttp://orbited.org Pylons. http://pylonshq.comhttp://pylonshq.com Repoze. http://repoze.orghttp://repoze.org Paste. http://pythonpaste.orghttp://pythonpaste.org js.io http://js.iohttp://js.io Smolt. http://smolts.orghttp://smolts.org Transifex. http://transifex.orghttp://transifex.org PackageDB. http://fedorahosted.org/packagedbhttp://fedorahosted.org/packagedb Bodhi. http://fedorahosted.org/bodhihttp://fedorahosted.org/bodhi Elections. http://fedorahosted.org/electionshttp://fedorahosted.org/elections FAS. http://fedorahosted.org/fashttp://fedorahosted.org/fas Mirror Manager. http://fedorahosted.org/mirrormanagerhttp://fedorahosted.org/mirrormanager Koji. http://fedorahosted.org/kojihttp://fedorahosted.org/koji

54 [ References ] Flying Platform, Hiller Aviation Museum. Retrieved January 9, 2009, from http://www.hiller.org/files/i/platform-4-626.jpg http://www.hiller.org/files/i/platform-4-626.jpg Rolf Broberg (2007). Framework complexity of the Pater Noster lighthouse. Retrieved on January 9, 2009, from http://commons.wikimedia.org/wiki/File:Framework_complexity_of_the_Pater_Noster_lighth ouse.jpgThis file is licensed under the Creative Commons Attribution ShareAlike 2.5, Attribution ShareAlike 2.0 and Attribution ShareAlike 1.0. http://commons.wikimedia.org/wiki/File:Framework_complexity_of_the_Pater_Noster_lighth ouse.jpg Language image. © Salt Lake Community College Institutional Marketing Dept. 2009. Retrieved on Januaray 9, 2009, from http://www.slcc.edu/languagelab/images/language.jpghttp://www.slcc.edu/languagelab/images/language.jpg LaCie Hub. Copyright © 2009 LaCie. Image retrieved on Januaray 9, 2009, from http://www.geekologie.com/2006/12/06/lacie-hub.jpg http://www.geekologie.com/2006/12/06/lacie-hub.jpg Fountain Hole. Taken by Flickr user stryder10464. Retrieved on January 9, 2009, from http://www.flickr.com/photos/11576250@N08/2922645060/. Image released under the Attribution-Noncommercial-Share Alike 2.0 Generic License. http://creativecommons.org/licenses/by-nc-sa/2.0/deed.en http://www.flickr.com/photos/11576250@N08/2922645060/ http://creativecommons.org/licenses/by-nc-sa/2.0/deed.en 5.25" diskette, by Ethan Hein. Retrieved on January 9, 2009, from http://www.flickr.com/photos/7702002@N08/2502526331. Image is released under the Attribution-Noncommercial-Share Alike 2.0 Generic License. http://creativecommons.org/licenses/by-nc-sa/2.0/deed.en http://www.flickr.com/photos/7702002@N08/2502526331 http://creativecommons.org/licenses/by-nc-sa/2.0/deed.en


Download ppt "FUDCon Toronto 2009 Luke Macken"

Similar presentations


Ads by Google