Friends of Hobix, assorted coders in distant lands and species: come out, come
out wherever you are! [...]  You who?

Hobix is way too big and wrong for what it does.  So, here's the plan:

 * Start over from scratch.  I'm not very far, yet.  But:
   http://code.whytheluckystiff.net/svn/hobix/branches/proto-bix/

 * Your old entries are fine, they will be preserved.

 * Skel, hobix.yaml, and plugins will be completely different.

 * The indexing is now done with Ferret, which is much, much faster
   and better.  (Yeah: Ferret+YAML is awesome and what Hobix should have
   always been!)

 * All dynamic web stuff will be done with Camping rather than
   WebApp.

Quick templates are cool, but Markaby is great, too.  I'm thinking of making a
hybrid.  Like you can setup blocks that override sections of the template.

For example, this YAML file:

   entries: |
     <% entries.each_day do |day, day_entries| %>
        <+ day_header +>
        <% day_entries.each do |entry| %>
           <+ entry +>
        <% end %>
     <% end %>
   entry: |
     <div class="entry">
       <+ entry_title +>
       <+ entry_content +>
     </div>
     <div class="entryFooter"><+ entry_footer +></div>

Becomes:

  page.entries do
    entries.each_day do |day, day_entries|
      page.day_header
      day_entries.each do |entry|
        page.entry
      end
    end
  end

  page.entry do
    div.entry do
      page.entry_title
      page.entry_content
    end
    div.entry_footer { page.entry_footer }
  end

Obviously lots to do, but if we keep it small we can get this kicked out quick.
Any things that you found essential in the original Hobix?

_why
_______________________________________________
Hobix-is-the-way mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/hobix-is-the-way

Reply via email to