Lore 5's future

memesis

One Thousand Club
So I'm actually experimenting with moving Lore 5 over to Ruby on Rails.  And I gotta say, from the work I've done so far, it looks really, really promising.  It makes my dick hard to produce my own persistence framework, sure, but Rails is slick, and it's neatly solved a lot of the problems I'm still grinding away at.


It'll ALSO solve my long-standing dilemma about deployment and site changes.
 
Just because I want to come off sounding like a total idiot, I'm going to ask: What part of Lore5's makeup will be replaced? The php? Will it still use the same database backend?


-S
 
wordman said:
memesis said:
So I'm actually experimenting with moving Lore 5 over to Ruby on Rails.
Thank Christ.
Some people will say "you're an idiot for writing your own Web framework" (which I did).  However, it was and is a valuable learning experience.  I'm to the point where I understand most of the issues facing the framework I have, Rails does what I need, and it's also a new thing to learn.  The transition is obvious.


Of course, you could also be saying that because you think my code sucks.
 
Stillborn said:
Just because I want to come off sounding like a total idiot, I'm going to ask: What part of Lore5's makeup will be replaced? The php? Will it still use the same database backend?
-S
As it happens, I ported our current database over and had to change only two things - the 'type' column in the Charms table, and the prefix to all the tables (Memesis_charms -> charms).  Rails picked everything up, as expected.


So yeah, the PHP would go away.
 
memesis said:
Of course, you could also be saying that because you think my code sucks.
I'm saying because a) I think PHP, while useful, sucks and b) I think Ruby on Rails is extremely cool and c) I've been gearing up to look through the code, so am releived that I may never need to look at the PHP stuff.
 
wordman said:
memesis said:
Of course, you could also be saying that because you think my code sucks.
I'm saying because a) I think PHP, while useful, sucks and b) I think Ruby on Rails is extremely cool and c) I've been gearing up to look through the code, so am releived that I may never need to look at the PHP stuff.
Of course, my code might still suck.


Anyway, I'll TRY to check in the 0.00000000001 version of Lore 5 on Rails (L5R?  wait, that's another game...) this weekend.  It's got nothing as far as functionality, but I want to get as far as defining the schema files Ruby-style.
 
So only a couple pieces are missing from the Rails model (like statlines).  I've got a not-bad-looking layout.  Next up is to write some templates for the usual operations (edit, show, list, search, whatever).  Should go fast.
 
With the release schedule, I was thinking about simply making the Rails version cover Exalted 2nd Edition, and leaving the existing PHP alone.  This means that the two sites can run in parallel.


From what I've been reading on the WW and RPG.net forums, 2nd ed is dick-hardeningly good.  I have NO compunction about devoting the bulk of my dev time to supporting a submission site for it.
 
Stillborn said:
Would the two systems integrate in any way?
-S
I don't see why, or how.  The main submissions that could be ported over are spells, artifacts, hearthstones, illustrations and articles.  Of those, how many will port cleanly to 2nd ed?  The actual news from actual people who actually have copies of the book is that it's very backwards-compatible, despite doomsaying around here.  So I'd guess that about half of the content from the items I listed above would be portable without a problem - all illustrations are, for example, but most of our articles here are house rules specific to 1st ed.


What else did you have in mind?
 
Well, having two separate databases, which don't interrelate at all, seems less than ideal. For instance, to see all the submissions someone has created, one would need to check in two different places.


Would it be possible to have a single system that can handle both 1st and 2nd Ed content under one interface?


-S
 
Stillborn said:
Well, having two separate databases, which don't interrelate at all, seems less than ideal. For instance, to see all the submissions someone has created, one would need to check in two different places.
Would it be possible to have a single system that can handle both 1st and 2nd Ed content under one interface?


-S
It would be, but I'd rather do that in rails than in PHP, and my focus from here on out is Exalted 2nd.
 
Meaning that the current Lore5 is basically a dead project?


-S
 
Stillborn said:
Meaning that the current Lore5 is basically a dead project?
-S
Meaning that it'd go into maintenance rather than being actively developed (the way it is now).  I still have a barrel of Charms to import in there, I know.
 
Stillborn said:
Any chance this could make it into version 2.0?
-S
I'll have to see what Rails can do for me.  But that's a 1.0 feature in any case - I just haven't had time to really crank on it.
 
memesis said:
I'll have to see what Rails can do for me.  But that's a 1.0 feature in any case - I just haven't had time to really crank on it.
Might as well make it a 2.0 feature instead, assuming that

  1. Rails can do it, and
  2. it will be able to list 1.0 submissions as well.


-S
 
Stillborn said:
memesis said:
I'll have to see what Rails can do for me.  But that's a 1.0 feature in any case - I just haven't had time to really crank on it.
Might as well make it a 2.0 feature instead, assuming that

  1. Rails can do it, and
  2. it will be able to list 1.0 submissions as well.


-S
It's probably EASIER to do in rails, since I can just have it introspect the phpBB schema.  not that phpBB is very clean mind you..
 
Hey you technical geniuses that give us this glorious domain packed with magnificent Lore5 content, any word on the 2nd Ed transition for charm submission?
 
Upaatk said:
Hey you technical geniuses that give us this glorious domain packed with magnificent Lore5 content, any word on the 2nd Ed transition for charm submission?
The word is "delayed", and the reason is "work".
 
They aren't paying you to exist yet?  What kind of world are we living in...


Well, once that situation's solved, we're eager to kneel down and worship you for your mastery of submission style database programming.
 

Users who are viewing this thread

Back
Top