**** BEGIN LOGGING AT Mon Mar 11 02:59:58 2013 Mar 11 15:05:48 hey guys, any ideas for how to implement a system in my Enyo app that allowed for administrators whose rights can not be accessed by changing things in Firebug? Mar 11 15:06:33 I have some ideas, but wanted to know if you guys had any Mar 11 16:01:10 GodGinrai: aside from a hashed password, i don't see that much. plus, they could still work around it by hacking around the checks... unless with app, you mean a web app, then it's a lot easier :) Mar 11 16:02:00 well, you *could*. you could encrypt the sources, ship them. and have the password to decrypt the admin sources and eval them... Mar 11 16:13:11 madnificent: yes, it is a webapp Mar 11 16:13:33 I will be interfacing w/ PHP on the server-side through XHR Mar 11 16:15:30 GodGinrai: oh, we do it in lisp by storing the session. super-duper easy Mar 11 16:16:57 you can use an ajax call for that, if you need it. we have intercom, which handles the communication for us :) Mar 11 16:17:40 (which is cool, because it means we can have applications in which you can have various rights, based on the tabs you have open) Mar 11 16:18:30 also, if you want to make it fancy and cool, you could throw context oriented programming at it, and create a context/layer for a certain type of identified user... that's only something you really want to look at if you're building a rather complex application though. Mar 11 16:18:59 not sure if context-oriented programming has a parallel in PHP Mar 11 16:24:21 How would I generate a session in Enyo? I know how to do it when going back and forth between PHP pages, but I've never tried to do it w/ XHR Mar 11 16:29:40 sessions aren't usually generated client-side are they? Mar 11 16:31:26 afaik, no Mar 11 16:31:56 so why would you want to generate a session in Enyo? Mar 11 16:32:29 I worded it badly Mar 11 16:32:51 I meant: How would I make use of sessions w/ XHR in Enyo Mar 11 16:33:09 I have no experience using sessions through XHR Mar 11 16:33:42 GodGinrai: sessions are server-side Mar 11 16:35:08 sessions are server-side, but they're usually understood client-side through headers Mar 11 16:35:24 but if you're talking about permissions, the server is the one deciding it Mar 11 16:36:14 GodGinrai: http is a stateless protocol, however we have cookies (yay!). so, the server will tell the client to store a cookie. the cookies are sent with each request (automatically). by that, and some other security parameters, the server can identify each of the requests coming in. it then stores something (database, or hash-table, mostly) in which you can set key-value pairs for that specific connection. so you can Mar 11 16:36:14 "admin" to "true" after someone logged in (for instance). Mar 11 16:37:17 * madnificent has sessions in an in-memory hash-table with a long-living image. so he has a full-fledged user-object at his availability, always. Mar 11 16:38:51 hrm Mar 11 16:38:54 hrm? Mar 11 16:39:09 yes, hrm Mar 11 16:39:13 sessions are easy in PHP, the XHR requests aren't changing that Mar 11 16:39:26 It means I'm mulling over what you said :P Mar 11 16:39:32 lol Mar 11 16:39:51 * madnificent wants those simple problems instead of his shitty problems /o\ Mar 11 16:41:12 lol, I have a lot worse problems that I have been running into, I just wanted some ideas for this one, since I hadn't tried something like this yet Mar 11 16:41:39 you wouldn't believe the crap I've had to do to get things to work right or look good in IE8 Mar 11 16:41:44 w/ Enyo Mar 11 18:28:21 hey guys, is there some Onyx solution to radiobuttons for the toolbar? Mar 11 18:28:51 The standard radio buttons are too tall for a standard onyx toolbar Mar 11 18:49:37 I see something about controlClasses in the sampler to turn the radiobuttons into tab buttons, is there something similar to fit them on the toolbar? Mar 11 18:57:47 anyone? **** BEGIN LOGGING AT Mon Mar 11 20:39:54 2013 **** ENDING LOGGING AT Mon Mar 11 20:45:48 2013 **** BEGIN LOGGING AT Mon Mar 11 20:46:39 2013 **** ENDING LOGGING AT Mon Mar 11 20:46:54 2013 **** BEGIN LOGGING AT Mon Mar 11 20:48:21 2013 Mar 11 23:35:18 will anyone be speaking about enyo at the "http://html5devconf.com/index.html"? **** ENDING LOGGING AT Tue Mar 12 02:59:58 2013