Author Topic: rbrw Framework  (Read 1291 times)

Offline beam

  • Level 15
  • *
  • Posts: 132
  • Reputation: +2/-0
  • Dance Commander
    • View Profile
rbrw Framework
« on: November 25, 2007, 11:21:08 PM »
I forgot what thread it was, but a little while ago the idea of things like CakePHP and CodeIgniter came up. I really like the idea behind those things -- complete separation of program logic and presentation. The only thing I didn't like was that it really forced the whole MVC architecture, and had a lot of other unnecessary things. After thinking about it for a while, I came up with my own framework, called the rbrw framework.

Basically, it only does a single thing: completely separate logic from presentation, by taking the ideas of controllers and views. Controllers are made up of actions, which do a single operation. For example, you could have a Player controller, with actions like logout, view, etc. Views are the presentation of actions, and are embedded inside layouts. It's all actually not very complicated. It also takes advantage of the mod_rewrite module, to make everything look very smooth. Rather than ugly query strings, you get URLs like domain.com/battle/attack/23, to attack a player with ID 23 for example.

Keep in mind that this isn't a game, just a framework you could use to make a game with. You could do pretty much anything you want with this.

You can check out the project page, or visit its current homepage at rbrw.net.

Offline rowbvp

  • Level 16
  • *
  • Posts: 139
  • Reputation: +0/-13
  • http://www.pepimp.com/
    • View Profile
    • PIMPIN 2.0
Re: rbrw Framework
« Reply #1 on: November 25, 2007, 11:55:57 PM »
Sounds pretty interesting,making your own framework.
thanks I got to take a look at it.
<a href="http://www.adtoll.com/?ref=8892"><img src="http://www.adtoll.com/images/banners/adv/468x60.gif" border=0 width=468 height=60></a>

Offline vizion

  • Level 7
  • *
  • Posts: 32
  • Reputation: +1/-0
    • View Profile
    • Riddle Contest of Dooooom
Re: rbrw Framework
« Reply #2 on: November 26, 2007, 02:03:45 AM »
I'll be taking a look at this. I started the CakePHP thread and found CakePHP to be overly complicated and restrictive for a  browser based game situation. Thanks for creating this.

Offline beam

  • Level 15
  • *
  • Posts: 132
  • Reputation: +2/-0
  • Dance Commander
    • View Profile
Re: rbrw Framework
« Reply #3 on: November 26, 2007, 02:43:44 AM »
If you have any questions, don't hesitate to ask. Writing the documentation on the wiki is slow going.

Offline Zeggy

  • Global Moderator
  • Level 35
  • *****
  • Posts: 1,187
  • Reputation: +13/-4
    • View Profile
Re: rbrw Framework
« Reply #4 on: November 26, 2007, 03:50:12 AM »
Nice, it looks pretty simple to use so far :)
But at the moment it just looks like a really simplified version of an MVC structure. I guess there will be some game-related libraries/functions though.

Shame robot fight didn't lift off :P

Offline beam

  • Level 15
  • *
  • Posts: 132
  • Reputation: +2/-0
  • Dance Commander
    • View Profile
Re: rbrw Framework
« Reply #5 on: November 26, 2007, 08:21:34 AM »
No, there won't be any game-related things, it isn't what it was made for. And yeah, it's a lot like MVC, but I didn't use the Model idea. I don't think it's necessary for what this was intended to do.

Offline Zeggy

  • Global Moderator
  • Level 35
  • *****
  • Posts: 1,187
  • Reputation: +13/-4
    • View Profile
Re: rbrw Framework
« Reply #6 on: November 26, 2007, 10:38:46 AM »
Oh, right, so the framework isn't specifically targeted towards games :)

 


SimplePortal 2.3.3 © 2008-2010, SimplePortal