Redesigning logic is never a good idea, although coming up with a base framework for gaming kind of makes it a necessity… sorta. The framework is finally coming to its skeleton completion which means several things:
- I can start working on the actual game again… In case you forgot, its called ctrlHack.
- The Framework will be available on in Sourceforge’s SVN so it can be downloaded and contributed to by other game developers alike. (I’m hoping for a wonderful community effort to make a strong backbone for any PBBG out there)
- I’ll have more to talk about here that actually has something to do with the game.
- I be able to work on new plugins/addons for the framework as my own game progresses.
As it stands at this moment, it will have all the following features built in:
- Global Configuration (with a basic Admin set up to change these settings)
- Pagination
- Validate (used for validating URLs, Usernames, Passwords, and Emails)
- Information (used to retrieve DB info on a userID, example usage is Attributes for users)
- Permissions
- Database layer
- Client-side Error Handling (eg; “Username is too short for registration”, etc)
- Display layer (Smarty for production view, Krumo for debugging view, PERL XML Serializer for REST view although untested and pretty crappy)
- Templates (each template thus far will include a page wrapper and style sheet with corresponding images)
- Modules layer (These are easily editable or creatable pages for the site)
- Authentication extensions for modules (to restrict page viewing to users with certain permissions)
- Account module (including registration, login, logout, and editing account info)
- Profile module (edit and view profiles, list of members… basically giving an example of how to use the modules)
- Home/frontpage module
- News module (a module to show all announcements and news internally which is used in the Home module in a shorter format, also shows usage of Auth_Author permission to add new articles)
The framework itself is suppose to be extensible but a viable (easy to use) framework to drop into your game and allow you to get to coding right away on the game part instead of reinventing the wheel for authentication and et cetera. With a community of developers helping, I think it could easily become a very welcome peice of code in PBBGs and of course always be free to the public.
Anyway, hopefully this sheds some light on what’s going on and sorry about not making any posts in a month or so. Let me know what you think…
Also, if anyone is wondering, I think I’ll be making the framework use the BSD License as that seems to allow people to use it, modify it and still be able to sell or make money off of their game in the future. I don’t want the license to be a burden, I want to promote open source but still allow commercial use.
No Comments Yet