General ruby templating with json, bson, xml, plist and msgpack support
This is the rabl git repo
This is neat
In any case, my next goal is cleaning up the Rabl source somewhat. It's gotten a bit hairy in the engine and builder departments, in no small part due to the added complexity of read_multi
If you can come up with a better way to handle that, that'd be great. I wasn't totally happy with the way it turned out, but I was trying to keep the changes as isolated as I could.
Yeah, it definitely wasn't a small feat on your part, I'm impressed you got the resulting source to make any sense at all
But it helps to look at the code with relatively fresh eyes, I'm sure there's some refactoring I can do, even if it's just stuff like tweaking variable and method names to make the interaction between all the moving parts a bit more explicit
Oh, totally. I'll readily admit it's far from perfect. :)
hmm, never used this... hipchat, campfire, irc, etc.
I was going to one day try to fork her codebase to real rabl's format
Oh wow, that looks nice
Very clean code; not nearly as powerful as rabl but I guess it does the job for her
agreed - not many options but the slowness of RABL when extending templates is rebuilding up all the objects (builder, engine, etc) and then returning results whereas that doesn't seem to happen to her's
My concern (like yours) is code cleanup and performance. Tough to do when you have a large user base of course.
I'm on EST so I'm about to head home from work. I'm back from a 2 week vacation where I was 13 hours ahead... so my day and nights are all mixed up. Maybe we can schedule time to chat overall on a major point release.
in the meantime, we can get together sooner on issues cleanup
With caching I'm not having any particular performance issues (although it could/should definitely be improved), so at this point my primary focus is code cleanup. I'm pretty familiar with the internals and it still takes me way too much time to figure out what exactly is going on when I dive into a particular method—a new user wanting to post a patch would be even more lost.
I'm on CEST (Amsterdam), so your morning would be my evening, which is fine with me for scheduling a chat.
As for issues, I'm planning to at the least run through everything and properly assign Feature/Bug labels so we have some idea of what should be fixed (shorter term) and what kind of stuff people are looking for (longer term).
Whoops, your morning isn't my evening—I confused EST with PST for a sec. With only 6 hours difference we should definitely be able to find a time.
But Nathan is still in SF 9 hours away. Oh well, we'll figure something out
I'm on all time zones right now... I haven't adjusted back to EST yet. I was up at 4am :-(
I'm noticing that rabl is "unescaping" an escaped url I am trying to return as an attribute. url has section like "t%3Dsomething%26u%3Dsomethingelse" and it's coming back to me in browser as "t=something&u=somethingelse" how can I make it not do this?
If you curl it via something like JSON or XML and don't view it in a browser, does it still get decoded?