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

Page 1 of 2 12 LastLast
Results 1 to 25 of 45
  1. #1
    Member 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
    Grand MasterRank
    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
    Member 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
    Grand MasterRank
    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
    Member 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
    Elite Member Miquos is offline
    Member +Rank
    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
    Grand MasterRank
    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
    Member 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
    Member 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
    Grand MasterRank
    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
    Member 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
    Grand MasterRank
    Apr 2010 Join Date
    GothamLocation
    3,620Posts

    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
    Member 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
    Member Joshuwar is offline
    MemberRank
    Oct 2012 Join Date
    45Posts

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

    Looks okay.

  16. #16
    Web & Interaction Design Gangnam is offline
    Grand MasterRank
    Dec 2010 Join Date
    Lincoln, UKLocation
    1,983Posts

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

    Quote Originally Posted by Notice View Post
    @Nicky Monsma...

    [MSG]

    ...have a good day!
    Dude, keep on topic - I can see you're new (unless you're the guy was banned the other week for chatting shit on most popular threads), so this is a gentle reminder...

    @OP - index looks much better than what I currently see on chromi.de! Looking forward to the outcome anyway

  17. #17
    Member Slotherin is offline
    MemberRank
    May 2013 Join Date
    27Posts

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

    Remain on topic, thanks.

    Quote Originally Posted by n0minal View Post
    Dude, keep on topic - I can see you're new (unless you're the guy was banned the other week for chatting shit on most popular threads), so this is a gentle reminder...

    @OP - index looks much better than what I currently see on chromi.de! Looking forward to the outcome anyway
    Thanks, wasn't too keen on the small hotel view, bigger is better, right?

    I'm planning on making multiple updates tomorrow; however it's exam week at school and these count for my GCSE sets so ill be revising too. Thanks.

  18. #18
    Ultra Light Beam Makarov is offline
    Grand MasterRank
    Apr 2010 Join Date
    GothamLocation
    3,620Posts

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

    Quote Originally Posted by Slotherin View Post
    Remain on topic, thanks.



    Thanks, wasn't too keen on the small hotel view, bigger is better, right?

    I'm planning on making multiple updates tomorrow; however it's exam week at school and these count for my GCSE sets so ill be revising too. Thanks.
    chromide uses several views :D

  19. #19
    Member Slotherin is offline
    MemberRank
    May 2013 Join Date
    27Posts

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

    Quote Originally Posted by Makarov View Post
    chromide uses several views :D
    Yeah, I noticed that when browsing through the site :p

  20. #20
    Ultra Light Beam Makarov is offline
    Grand MasterRank
    Apr 2010 Join Date
    GothamLocation
    3,620Posts

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

    Quote Originally Posted by Slotherin View Post
    Yeah, I noticed that when browsing through the site :p
    The layout is pretty small and abstract because unlike all the other hotels, chromide is on a pretty recent build, so our news articles are in-game (which is why there's no articles page or whatever). The design will probably be scrapped when we get out of beta.

  21. #21
    Member Slotherin is offline
    MemberRank
    May 2013 Join Date
    27Posts

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

    Quote Originally Posted by Makarov View Post
    The layout is pretty small and abstract because unlike all the other hotels, chromide is on a pretty recent build, so our news articles are in-game (which is why there's no articles page or whatever). The design will probably be scrapped when we get out of beta.
    Yeah, I wanted to include a small and Simplistic (hence the name) theme aswell as a fully fledged theme (will code later), ill probably also do some sort of multiple database support, but nothing definite yet :p

  22. #22
    Member Slotherin is offline
    MemberRank
    May 2013 Join Date
    27Posts

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

    Quote Originally Posted by Leon View Post
    Commenting on your own thread with your other account..lol
    I was logged into that one on my iPad and I told them to remain on topic... Then I looked like an idiot so yeah :)))

    @Quackster: I'll definitely finish this one, and I promise that.

    Guys, please remain on topic, I don't even know what you're on about.....

  23. #23
    Member Slotherin is offline
    MemberRank
    May 2013 Join Date
    27Posts

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

    Begin recoding this, updates will come within the next couple of days, i've got big things planned...

  24. #24
    Elite Member Riley H is offline
    Member +Rank
    Mar 2010 Join Date
    United StatesLocation
    203Posts

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

    Just wondering if there is any reason for separating the HTML and PHP aside from convenience?

  25. #25
    Live Ocottish Sverlord Joopie is offline
    LegendRank
    Jun 2010 Join Date
    The NetherlandsLocation
    2,773Posts
    Quote Originally Posted by Riley H View Post
    Just wondering if there is any reason for separating the HTML and PHP aside from convenience?
    Its easier to find code, cleaner for the eye and easier to use with oop.



Page 1 of 2 12 LastLast

Advertisement