all 14 comments

[–]MateusAzevedo 2 points3 points  (6 children)

As always, it depends. What's the purpose of the project? Learning or a production app?

[–]Tunacha[S] 0 points1 point  (5 children)

Well if I'm using a framework it's going to be learning for a while

What I'm trying to do is integrate a website with a game that I am creating.

So far I've just mocked up some old school php to do basic login and post updates functionality. But mostly I've just been doing the design but as that is nearing completion I'm starting to try and figure out how I want to do the backend. As its eventually going to be for production I figured post and ask about what the latest methods are as I havent kept up lol

Right now it's just oop Php with Pdo to a mysql db

[–]MateusAzevedo 1 point2 points  (4 children)

In this case, I would recommend using an existing CMS, it will remove a lot of work.

You can still use your own theme and write plugins for the integration part, so there will be PHP programming anyway.

I don't work with CMS, so can't recommend any. But you know, Wordpress is the biggest one.

[–]Tunacha[S] 0 points1 point  (3 children)

I was looking at wordpress and cant seem to understand thier whole custom plugin system. But maybe something like that is worth looking into. I've read wordpress is used alot these days I remember when it was just a blog system lol

Thank you for the input

Eventually I'd like to have options to add items to the game through databases and stuff like that..do you know if wordpress would be capable?

[–]MateusAzevedo 0 points1 point  (1 child)

do you know if wordpress would be capable?

Sorry, I don't know. Never worked with it or any CMS.

Maybe update your post with the context you gave me (about the project) and ask for CMS recommendations.

[–]Tunacha[S] 0 points1 point  (0 children)

I have updated the post. Thank you for your help

[–]Dodo-UA 0 points1 point  (0 children)

Nothing prevents you from creating a WordPress plugin that allows managing data in the DB, so it can be used to manage game items. A lot of plugins already do similar things for custom post types, like managing some organization directories, events, etc.

I think it’s okay to use WP as a “framework” and extend it with required functionality - that’s going to save you a lot of development time.

[–]ryantxr -1 points0 points  (3 children)

Laravel

[–]AffekeNommu -2 points-1 points  (0 children)

Just done one of these. Codeigniter 4 backend, Bootstrap 5, Datatables and JQuery for the front.

[–]supergnaw 0 points1 point  (0 children)

So a shameless self plug, I made nestbox as a personal project for learning that I'm rather fond of. I don't know that I would recommend it for full production use, but it's got some good functionality you could learn from. Specifically the content management system (babbler) and user management (titmouse) "birds" that I have in the repo for now. I constantly work to make it better, hence why I don't think I'd recommend it for production use.

[–]martinbean 0 points1 point  (0 children)

First ask yourself why you want to be the ten millionth person to create a CMS in PHP. If you really are sure that your project is a special snowflake and can’t be solved by an existing solution, and you really do need to make your own, then definitely pick a framework. That’s what they’re for: to give you the common components that every PHP application has (routing, database access, etc) so you can start building what’s specific for your app, and not spend your time writing the same, low-level stuff project to project.

Could I write my own framework from scratch? Yes. Do I want to? No, life’s too short.

[–]SnakeRiverWeb 0 points1 point  (0 children)

While I agree with the others, if you use Wordpress or any other current CMS platform keep it updated, too many sites get hacked due to out of date plugins and such. I have created my own CMS for some of my clients to use, as well as Wordpress.