I hate posting updates on development here in the forum, because they always get lost in the shuffle. I should really set up a blog on the main lussumo.com page, but I want to devote all of my free time to development and documentation. Plus, I think I *will* end up using the vanilla framework to make a new blog - so I don't want to waste any time working with some other blogging tool.
I'm sick of documentation right now, so I've been doing some more work on the codebase. A few weeks ago I got this notion about how to speed things up in Vanilla, and today I did it. I thought it might give a minor increase in speed, but it turns out that it is a MAJOR increase in speed. Pages that were taking over 1 second to load here on my local server are now taking an average of 0.7 seconds to load. In my mind, that's a pretty impressive performance gain.
Basically, I made the objectfactory load classes on demand, rather than including all classes that a page might need in every page load. It's pretty neato!
Okay, I've been working on the styles and templating all day. I think I'll officially have to change the name from a "style" to a "theme", because dammit - this rocks. It's now way more than just a css definition.
Here is a screen grab of a style I've been able to develop with the theming system:
ah. I thought it had been released for the developers or something. everyone disregard my previous post (unless I have stubled upon a conspiracy, in which case, I want in!)
I was not around for o8, so I did not recognise it. It looks very nice though.
if this is going to work like I think it will, we could possibly be redefining the entire stylesheet as we know it. Meaning, we could define our own styles and simply call in the namespace for the element filling that style. For example, moving all the navigation tabs into the sidebar area and using either that same style, or defining our own.
Eventhough it looks good, I wouldn´t go for the classic frame style. I´ve always liked Vanilla for being different to all others, with its clear (google like) lay out.
Techy, themes or styles via templates wouldn't break anything. In fact, it would only add to it. for example, this would allow you the admin to define what elements to display, and which to hide on your forum. From the screen shot that mark posted, it appears that either there are items hidden via css, otherwise, not present in the template. If it's rendered how I think it is (the later, via template) this is a bonus.
However, the only drawback to this is that one set of CSS style(s) cannot be applied to the same template "frame" as each would be defined for that theme and that theme alone. Unless there was a common template "frame" being used for both. So while there's many benefits, there's only a very few number of drawbacks to this. So I'm all for it if I can move around the underlying xhtml code being spat out :D
Another major benefit is being able to literally save some processing time to display pages due to the fact that you might only be calling one or two database items out of a dozen total, so that's also a plus if you don't need all that data.
only mark can answer the question for sure, because I'm simply speculating on what mark has in store. But hopefully it's something along the lines of what I've explained.
For the most part lech is right. You'll have a great deal of control over the xhtml under the hood. There will still be one frame in there that you can't touch: the body control (which is a controlcollection class) will still have it's opening and closing div. Everything else will be editable.
@techy: Yes, that is an old-style looking forum I've made up there - but it was being modelled after an old forum I made years ago.
@flc: I know I said I wasn't going to go down that road, but I wanted to test out the templating, and I was too lazy to think up a whole new style.
I think it has been said in previous threads that Mark is not going to revive it, but from the sounds of it, it would be great to give it another go. It can run vanilla with Marks new 'mini vanilli' theme, which I hear is based on o8.