[DEV] MapleStory Web Framework

Page 2 of 2 FirstFirst 12
Results 16 to 27 of 27
  1. #16
    Account Upgraded | Title Enabled! Snopboy is offline
    MemberRank
    Sep 2011 Join Date
    Kerning PQLocation
    1,057Posts

    Re: [ALPHA] Sporter Framework v2

    Bump, any feedback?

  2. #17
    Account Upgraded | Title Enabled! Snopboy is offline
    MemberRank
    Sep 2011 Join Date
    Kerning PQLocation
    1,057Posts

    Re: [ALPHA] Sporter Framework v2

    Currently working on yet another rewrite, I'm pretty sure this one is somewhat final as I already got some understanding of OOP.
    The new version will follow the PSR standards (hopefully, this depends on how much information I could absorb about this in such a short time), Singleton and will have an autoloading (either Composer, SPL or self made).
    Loading views and templates (and also PHP plugins) will be stored and retrieved from Database and written to the disk as a cache. Still reading about this and it's really interesting (The way WordPress and vBulletin does it).

  3. #18
    very green greenelfx is offline
    MemberRank
    Jul 2011 Join Date
    1,323Posts

    Re: [ALPHA] Sporter Framework v2

    Quote Originally Posted by kingslime View Post
    Currently working on yet another rewrite, I'm pretty sure this one is somewhat final as I already got some understanding of OOP.
    The new version will follow the PSR standards (hopefully, this depends on how much information I could absorb about this in such a short time), Singleton and will have an autoloading (either Composer, SPL or self made).
    Loading views and templates (and also PHP plugins) will be stored and retrieved from Database and written to the disk as a cache. Still reading about this and it's really interesting (The way WordPress and vBulletin does it).
    Use composer. Do not make your own...please.

  4. #19
    Account Upgraded | Title Enabled! Snopboy is offline
    MemberRank
    Sep 2011 Join Date
    Kerning PQLocation
    1,057Posts

    Re: [ALPHA] Sporter Framework v2

    Quote Originally Posted by greenelfx View Post
    Use composer. Do not make your own...please.
    I've yet to look much into Composer, once I do I'll determine whether I use it or use the alternatives.
    This will most likely depend on ease-of-use for complete beginners, convenience and flexibility.
    I'm looking into working with namespaces and interfaces too, this may be a plus.

    Also I'm currently thinking whether to take this development down and develop it privately or leave as is (open source). I've yet to receive any feedback on my code, ultimately this makes the quality of the code pretty bad because no one points out what I'm doing wrong so I can't really improve, which is a shame.

  5. #20
    Account Upgraded | Title Enabled! Snopboy is offline
    MemberRank
    Sep 2011 Join Date
    Kerning PQLocation
    1,057Posts

    Re: [ALPHA] Sporter Framework v2

    @greenelfx
    I don't see how composer could contribute to this project, it will just make things more complicated for beginners.
    I finally understand a bit about namespaces, at first I thought it does something else but now I understand it.

    Here's a very minimal prototype, been spending most of the time on organizing it, thinking of the concept and planning how I'll put it down in code.
    https://github.com/snopboy/Prototype

  6. #21
    Account Upgraded | Title Enabled! Snopboy is offline
    MemberRank
    Sep 2011 Join Date
    Kerning PQLocation
    1,057Posts

    Re: [ALPHA] Sporter Framework v2

    Working on Kernel, the current Kernel will probably be discarded soon and written from scratch again.
    Started writing a small Registry with a few methods to manage your objects (store, storeSingleton, get, drop, clear).
    Small autoloader, needs some work to be done, it's still messy and minimal.
    A loader class to load whatever you need into your controller, there's base controller, example of model available in index.php, very elegant and beautiful, one of the main goals is ease of development and basically make it joyful.
    Will be ripping Laravel's Blade template engine, I fucking love it.
    Will implement cache storage, view compiler (because we don't want the engine to parse all the templates all the time), database abstraction with fail safe, maybe even support connections to multiple databases simultaneously.
    So far the design seems to be good, but still needs some adjustments to be fully compliant with PSR standards.
    Composer might be implemented as an optional tool to handle packages but so far it is not necessary.

    I've learned a lot about programming from working on this project.
    If anyone wants to contribute, feel free to leave a message and we could work together.

    OP is being edited now.

  7. #22
    Account Upgraded | Title Enabled! Snopboy is offline
    MemberRank
    Sep 2011 Join Date
    Kerning PQLocation
    1,057Posts

    Re: [ALPHA] Sporter Framework v2

    Quote Originally Posted by greenelfx View Post
    Use composer. Do not make your own...please.
    You asked for it? You got it.
    Composer + Symfony + Laravel xD

    A continuation, this time I need it for a Maple server project I'm working on so I'll dedicate more time to it than the previous web development.

  8. #23
    Account Upgraded | Title Enabled! Snopboy is offline
    MemberRank
    Sep 2011 Join Date
    Kerning PQLocation
    1,057Posts

    Re: [DEV] MapleStory Web Framework

    Discarded previous base, started new one yesterday, it's now open source and available on GitHub.
    Any feedback is greatly appreciated!
    https://github.com/snopboy/Foundation

  9. #24
    very green greenelfx is offline
    MemberRank
    Jul 2011 Join Date
    1,323Posts

    Re: [DEV] MapleStory Web Framework

    Quote Originally Posted by kingslime View Post
    Discarded previous base, started new one yesterday, it's now open source and available on GitHub.
    Any feedback is greatly appreciated!
    https://github.com/snopboy/Foundation
    So now that you're using industry standard components, what's the motivation behind this project? You'll find that frameworks like Silex or Lumen are basically what you're going for, if not more. Why not just build off of those?

  10. #25
    Account Upgraded | Title Enabled! Snopboy is offline
    MemberRank
    Sep 2011 Join Date
    Kerning PQLocation
    1,057Posts

    Re: [DEV] MapleStory Web Framework

    Quote Originally Posted by greenelfx View Post
    So now that you're using industry standard components, what's the motivation behind this project? You'll find that frameworks like Silex or Lumen are basically what you're going for, if not more. Why not just build off of those?
    I find every established framework to be overloaded with crap, also I prefer knowing the core that I'm going to work with instead of just dealing with the application related stuff, it's an opportunity for me to learn more.

    The reason for doing this project is to both provide the community with a CMS that provides separation of concerns, best practices and most of all - flexibility.

    I find it very difficult to replace templates on MapleBit for example, because the HTML and PHP are literally mixed together which makes me break stuff countless times and then fix it.

    Another thing is that when the core is simple and small, changes can be made with ease should it ever be required.

    I both like learning about PHP and programming as a whole and of course I need a reliable Framework for my pserver project so I could build CMSs for both the Test server and official server along with all necessary APIs and control panels.

    You could help with code reviews or push new code if you ever wish to contribute, I'm hoping to push the pserver community forward in the right path of OOP and good standards, anyone who wishes to contribute is invited to do so :)

    -Changes will be done to application.php, this code will most likely will be separated in a few methods inside a class instead of being in raw php structure.
    -Need to implement Monolog and error handling later as well.

  11. #26
    Account Upgraded | Title Enabled! Snopboy is offline
    MemberRank
    Sep 2011 Join Date
    Kerning PQLocation
    1,057Posts

    Re: [DEV] MapleStory Web Framework

    Bump, still being updated daily.
    Latest commit has some basic initial extensions to the BaseController class (mainly new methods and properties for a View bridge, Loader and Model), a class template for the Response bridge (still working on it), a small fix for the Router bridge (accidentally put the parameters under "params" key where Symfony only accept the parameters as standalone keys and not nested inside a "params" key).

    While there's still a lot of work left to do, as a base it's quite solid and functional as is.

    I'm aware of the fact that it's still messy and the majority of the classes aren't documented at all (except BaseController which is at least 90% documented so far) but it's expected because it's a prototype and these classes are still being worked on and not finalized/polished.

  12. #27
    Account Upgraded | Title Enabled! Snopboy is offline
    MemberRank
    Sep 2011 Join Date
    Kerning PQLocation
    1,057Posts

    Re: [DEV] MapleStory Web Framework

    Been extremely busy the past two weeks, just pushed a small update that, added support for JSON responses and Redirection.



Page 2 of 2 FirstFirst 12

Advertisement