PHP Classes

Develop PHP mvc Framework From Scratch: I need help developing complete PHP mvc framework.

Recommend this page to a friend!
  All requests RSS feed  >  Develop PHP mvc Framework From Scratch  >  Request new recommendation  >  A request is featured when there is no good recommended package on the site when it is posted. Featured requests  >  No recommendations No recommendations  

Develop PHP mvc Framework From Scratch

Edit

Picture of ehos olivia by ehos olivia - 6 years ago (2017-08-17)

I need help developing complete PHP mvc framework.

This request is clear and relevant.
This request is not clear or is not relevant.

+1

Problem: I want to develop PHP MVC framework of my own, but don't know how to go about it. I want a PHP framework built from scratch WITHOUT the use of popular frameworks like Yii, Symfony,Laravel etc Also, a small mini-project on implementing the PHP MVC framework would deeply and deeply be appreciated.

Requirements: Make use of PDO for Mysql URL Redirecting working well Controller, Model, View(templates) AJAX, JQUERY request and send function etc

Please I will be glad if you could help, Please!

  • 1 Clarification request
  • 1. Picture of Dave Smith by Dave Smith - 6 years ago (2017-10-14) Reply

    I am not sure how far you have gotten on this, however you have posted your request in the wrong place really. On this site there are forums, and one is available to ask an expert. You request should really be made there.

    I am not 100% sure that the 2 current recommendations understood that you are wanting to build your own Model View Controller (MVC) pattern into your own framework.

    This is a fairly advanced subject and to detailed for a full explanation here, but the basics are...

    You have a model class that manages the what, the raw data. This class is instantiated into its own object.

    You have a controller class that instructs the model, the how. This class is instantiated into an object with one of its properties being the model object.

    You have a view class that determines where, in what format the raw data is delivered. It is instantiated as an object with the model and controller objects as properties.

    Creating the objects this way allows the controller to control the model and the model to make the data available to the view which delivers it.

    When dealing with the web, one additional bit of functionality is often needed which is called the router. Based on the user request, the router decides what controller, model and view are needed and instantiates them accordingly.

    That should be enough information to get you moving in the right direction.

    Dave

    • 2. Picture of ehos olivia by ehos olivia - 5 years ago (2018-06-18) in reply to comment 1 by Dave Smith Comment

      Thanks Dave Smith. After much troubles and research, i managed to get one working. Your clarification is really helpful. Thanks.

Ask clarification

2 Recommendations

PHP SQLite3: Sample connection and query SQLite databases

This recommendation solves the problem.
This recommendation does not solve the problem.

0

Picture of James Crawford by James Crawford Reputation 50 - 6 years ago (2017-08-17) Comment

I am using the link above to 'validate'

I developed a simple CMS a few years ago, it wasnt complex or expanadble, but I wrote it in a way that if you wanted to you could, I still have many notes on this and they still fit todays technologies, however it would mean updating some of the code, are you looking for people to HELP you build the CMS or are you looking for 3rd party libraries to build the CMS? either way I can help by providing notes on what I did and why, hoipefully this will give you a firm basis to progress further. you can get in touch via twitter using jimmyboro, I can then send you contact details.

All the best and good luck with your project

  • 2 Comments
  • 1. Picture of ehos olivia by ehos olivia - 6 years ago (2017-08-22) Reply

    Hi James! I want to build myself. I have been trying but i don't know, it's still crazy.

    Can i see the link, please? Also the notes and other stuff would do.

    Thanks.

  • 5. Picture of ehos olivia by ehos olivia - 6 years ago (2017-08-22) Reply

    Hi james crawford, i check you on twitter with jimmyboro but could found you. Hope to hear from you soon.


Burge CMF: Framework to publish managed content

This recommendation solves the problem.
This recommendation does not solve the problem.

+1

Picture of Burge Lab by Burge Lab package author package author Reputation 240 - 6 years ago (2017-08-17) Comment

A content management framework based on CodeIgniter

  • 2 Comments
  • 3. Picture of ehos olivia by ehos olivia - 6 years ago (2017-08-22) in reply to comment 2 by Burge Lab Reply

    Can i see the link,please?

  • 4. Picture of ehos olivia by ehos olivia - 6 years ago (2017-08-22) in reply to comment 2 by Burge Lab Reply

    I mean can i have the link to the files?


Recommend package
: 
: