GrapeWEB II ~ [MVC][PHP][RedBeanPHP]

Page 1 of 3 123 LastLast
Results 1 to 15 of 45
  1. #1
    Enthusiast Slotherin is offline
    MemberRank
    May 2013 Join Date
    27Posts

    GrapeWEB II ~ [MVC][PHP][RedBeanPHP]

    GrapeWEB II

    Introduction
    Hi. I'm Slotherin, but my real name is Joshua. I've been lurking around the forums for a while as a non-registered user and I decided to give the community a little something. Many of you won't of ever heard about GrapeWEB, but it was basically a small, Habbo-CMS by myself, and now times have changed and it's time for something better... GrapeWEB II. It uses the MVC structure, just without the models... instead it uses Data Access Objects as it seemed more convenient to use those instead of Models. Anyway, it uses RedBeanPHP (PDO) for the database handling. It's also coded in PHP.

    Features
    - Easy "view" system, from MVC
    - Fast & Secure
    - RedBeanPHP (PDO)
    - Views & Controllers
    - Data Access Objects (DAO's)
    - Theme system
    - PHP separated from HTML
    - Skeleton structure (from RaGEWEB 2)
    - Routing system with arrays
    - Flexible
    - Quick setup
    - Full-featured housekeeping
    - Makes SQL injection practically impossible
    - Bootstrap theme with AJAX & jQuery

    Screenshots


    Credits to the Chromide team for the idea of this theme, however it's Bootstrap elements so credits aren't really required.

    GitHub
    http://github.com/Slotherin/GrapeWEB-II
    The project is hosted on GitHub. However, I do not reccommend trying to set it up, as it's far from finished. No database connection has been done yet, nor has the code been revised and cleaned. The GitHub is only to show the progress and code.

    Credits
    Makarov (Ideas from RaGEWEB 2 such as the routing array etc)
    Leon (Some code ideas from Nova3.0, such as RB and DAO's)
    Slotherin (ME!)

    Last edited by Slotherin; 06-05-13 at 09:13 PM.


  2. #2
    topkek amirite?? Leon is offline
    MemberRank
    May 2009 Join Date
    919Posts

    Re: GrapeWEB II ~ [MVC][PHP][RedBeanPHP]

    RedBeanPHP is a great library if you want easy MySQL object relational mapping. Good luck with your project, if you ever need any help, PM me! :)

  3. #3
    Enthusiast Slotherin is offline
    MemberRank
    May 2013 Join Date
    27Posts

    Re: GrapeWEB II ~ [MVC][PHP][RedBeanPHP]

    Quote Originally Posted by Leon View Post
    RedBeanPHP is a great library if you want easy MySQL object relational mapping. Good luck with your project, if you ever need any help, PM me! :)
    Yeah, I got the idea from Nova, as well as the DAO's, seems easier and more flexible for myself :p

  4. #4
    prjRev.com Kryptos is offline
    MemberRank
    Feb 2010 Join Date
    Planet EarthLocation
    579Posts

    Re: GrapeWEB II ~ [MVC][PHP][RedBeanPHP]

    Quote Originally Posted by Slotherin View Post
    It uses the MVC structure, just without the models... instead it uses Data Access Objects as it seemed more convenient to use those instead of Models.
    Can't implement the MVC pattern without a model. The M means Model.

    Quote Originally Posted by Slotherin View Post
    It doesn't look bad, but if anything I'd advice you to try to do something completely different from what everyone else is doing - I'm tired of seeing a bunch of "MVC CMS'" that are practically the same thing.

  5. #5
    Enthusiast Slotherin is offline
    MemberRank
    May 2013 Join Date
    27Posts

    Re: GrapeWEB II ~ [MVC][PHP][RedBeanPHP]

    Quote Originally Posted by Kryptos View Post
    Can't implement the MVC pattern without a model. The M means Model.

    It doesn't look bad, but if anything I'd advice you to try to do something completely different from what everyone else is doing - I'm tired of seeing a bunch of "MVC CMS'" that are practically the same thing.
    VC doesn't sound too good, I didn't use Models because it's easier to call static functions from DAO's, however, there is still a possibility that i'll replace DAO's with Models, i'll just have to think about it. Also, since I'm half way through, I don't think i'll change the architecture, maybe if I do a version three I might think of something new

    I've also made quite a few updates in the past few hours; however they're not ready to be pushed yet, i'll most likely update it either tomorrow or later on.

  6. #6
    Valued Member Miquos is offline
    MemberRank
    Oct 2012 Join Date
    The NetherlandsLocation
    101Posts

    Re: GrapeWEB II ~ [MVC][PHP][RedBeanPHP]

    Features seem interesting, code looks good as well ;)

    Good luck! ;P

  7. #7
    prjRev.com Kryptos is offline
    MemberRank
    Feb 2010 Join Date
    Planet EarthLocation
    579Posts

    Re: GrapeWEB II ~ [MVC][PHP][RedBeanPHP]

    Quote Originally Posted by Slotherin View Post
    I didn't use Models because it's easier to call static functions from DAO's, however, there is still a possibility that i'll replace DAO's with Models
    Why not both? ...
    Model -> Business Logic
    DAO -> 'an object that provides an abstract interface to some type of database' - Source

  8. #8
    Enthusiast Slotherin is offline
    MemberRank
    May 2013 Join Date
    27Posts

    Re: GrapeWEB II ~ [MVC][PHP][RedBeanPHP]

    Quote Originally Posted by Kryptos View Post
    Why not both? ...
    Model -> Business Logic
    DAO -> 'an object that provides an abstract interface to some type of database' - Source
    Good idea, not definitely sure of what i'll do. I've begun the model system anyway, it's just a matter of whether I implement DAO's as well. :p

  9. #9
    Enthusiast Slotherin is offline
    MemberRank
    May 2013 Join Date
    27Posts

    Re: GrapeWEB II ~ [MVC][PHP][RedBeanPHP]

    Sorry for double post.

    Over the past 24 hours i've got lots and lots of work done. The viewing system is finished, and I came accross some errors whilst doing it. File structures have also changed as the views are now stored in Application/Themes/*/Views, as PHP is also stored in the template files. I've also decided just to use DAO's. To see code updates, go here (github): click!

    Major Updates
    A theme has been started, it's name is "Simplistic", it's created with Bootstrap and inspired by one on Chromi.de. However, at the end of the day, it's Bootstrap so don't moan that it's ripped. Also, the Bootstrap.min.css is one from Bootswatch (can't remember it's exact name)


    Main thread has also been updated.

  10. #10
    "(still lacks brains)" NoBrain is offline
    MemberRank
    Sep 2011 Join Date
    United KingdomLocation
    2,658Posts

    Re: GrapeWEB II ~ [MVC][PHP][RedBeanPHP]

    Prepare for Cobe being butthurt and say you stole his theme, chromi.de.

    Good luck with this!

  11. #11
    Enthusiast Slotherin is offline
    MemberRank
    May 2013 Join Date
    27Posts

    Re: GrapeWEB II ~ [MVC][PHP][RedBeanPHP]

    Quote Originally Posted by ησвяαιη View Post
    Prepare for Cobe being butthurt and say you stole his theme, [url=http://chromi.de/]RaGEWEB II
    It's not going to be the main theme of the site, i'll probably create another two themes before official release. After all, it's not his work, it's Bootstrap?

  12. #12
    Ultra Light Beam Makarov is offline
    MemberRank
    Apr 2010 Join Date
    GothamLocation
    3,622Posts

    Re: GrapeWEB II ~ [MVC][PHP][RedBeanPHP]

    He clearly gave me credit for it, so I'm fine. I just don't like when people like Monsma and Ashleigh steal my codes without recognition :P

  13. #13
    Banned bugme is offline
    BannedRank
    Feb 2007 Join Date
    1,380Posts

    Re: GrapeWEB II ~ [MVC][PHP][RedBeanPHP]

    This is pretty nice good luck with actually developing this it's really looking good and it seems that you and Makarov are working perfectly fine together so good luck both to use.


    Ever wanted to see Nick Monsma : Here's the chance:

    Don't be scared of mister Monsma aka mister fat Monsma he's just another try-hard around the INTERNET so he's actually not able to do shit to you.

    Woops found you are you going to ''Fuck my internet'' Now too? Please tell me if so I'd personally laugh you out like a boss.

    Click this


  14. #14
    Enthusiast Slotherin is offline
    MemberRank
    May 2013 Join Date
    27Posts

    Re: GrapeWEB II ~ [MVC][PHP][RedBeanPHP]

    Quote Originally Posted by Notice View Post
    This is pretty nice good luck with actually developing this it's really looking good and it seems that you and Makarov are working perfectly fine together so good luck both to use.

    Also don't be scared for Nick Monsma He's a little fat twat who clearly thinks he's the big guy over here telling people what to do and what not to do makes him clearly look like an utter idiot he's not worth shit.

    Ever wanted to see Nick: Here's the chance:

    Click this

    I'm not working with Makarov, this and Chromide are 2 different projects, I just took the design from Chromide................

  15. #15
    Enthusiast Joshuwar is offline
    MemberRank
    Oct 2012 Join Date
    45Posts

    GrapeWEB II ~ [MVC][PHP][RedBeanPHP]

    Looks okay.



Page 1 of 3 123 LastLast

Advertisement