Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
1 vote
1 answer
342 views

Index.php automatic router for custom MVC

In house we have been building our own MVC framework. One of the things that was important in the project was to not have to add routes manually but instead have a standard and let the index ...
Joséph Flames's user avatar
3 votes
2 answers
223 views

Router and solid principle

I would like to know if my Routing system respects the solid principle ? The system is simple, Router class contains the routes and returns the correct route and Route class represents a route, ...
user avatar
0 votes
1 answer
79 views

Improving PHP MVC code for personal website [closed]

Github for project: https://github.com/wrpd/portfolio I have a very general understanding of MVC but haven't ever implemented it. In an effort to improve my understanding and get back into a little ...
usulmuaddib's user avatar
2 votes
1 answer
507 views

Simple MVC built in PHP

I tried to make a MVC in PHP with OOP approach. Code Review this so I can understand whether am I using the best practices and can I legally call it a MVC framework or not. Also, I am going with 1 ...
eng's user avatar
  • 33
2 votes
0 answers
281 views

Python (Sanic) Routing

I wanted to explore how I can associate routes with "controllers" with Sanic as a base. It works fine but "feels" a bit clunky but I can't put my finger on why/how. routes.py - Returning controller ...
ggdx's user avatar
  • 71
3 votes
1 answer
4k views

Simple PHP Router for home grown MVC framework

I don't know if you guys get tired of seeing a bunch of requests for review of similar projects, but I was really looking for advice. My website is designed on the MVC pattern. I have a very simple ...
andrewthecoder's user avatar
2 votes
2 answers
16k views

PHP Routing with MVC Structure

I'm trying to do a simple CMS with PHP from scratch using MVC structure. Yesterday I posted this, which is a login system using PHP and it works but it has a handful of problems regarding the OOP ...
nick's user avatar
  • 345
3 votes
2 answers
228 views

PHP MVC framework

I am kind of new to MVC, I've read lots of tutorials online but each keep using different approaches so I decided to create mine. Below is what my code looks like. index ...
carl frank's user avatar
5 votes
1 answer
111 views

Defining routes and controllers relationship for given pages

I'm building a CMS app with the help of a custom framework. The back-office is composed of the following pages: post list page list user list post edit page edit user edit Actually, my routes are ...
ClemC's user avatar
  • 161
0 votes
1 answer
994 views

Simple PHP CRUD application with Google Maps

I've got some experience with Laravel but for fun I started a small project (basically a CRUD with also Google Maps) without a framework because I considered that is oversized. This is the directory ...
Claudio King's user avatar
2 votes
1 answer
6k views

Dynamic Routing PHP MVC

I'm creating a simple MVC framework for a new version of my website I'm working on. Currently I have simple routing, such as /about-us etc ... I've just implemented 'my version' of dynamic routing. I ...
Francis's user avatar
  • 557
1 vote
1 answer
185 views

Simple router for updating users

I need to know if I am going in the right direction with my code so far. I am really trying hard to transition from procedural, page-based programming into OOP MVC. So far I have written a simple ...
kjdion84's user avatar
  • 111
4 votes
1 answer
1k views

PHP routing system

I made a routing system for PHP inspired by Symfony's router composed of a few classes. First I am using Symfony's HTTP Foundations component. Then, I am emulating the classes in the routing component ...
Viktorija Spasenovska's user avatar
7 votes
1 answer
7k views

Creating an object-oriented router class in PHP

On my way to learn OOP, I am developing a little CMS using the MVC pattern. I would like to have some feedback about my router class, mostly about if I am correctly using OOP. Right now, I have a ....
ThemesCreator's user avatar
5 votes
1 answer
658 views

Small PHP-MVC system (for personal learning / use)

I've made an "simple" / "small" MVC-like PHP system. I've used some code of an project I used before and ask questions about it back then to. The thing is, it works (the admin part to begin with), ...
Mathlight's user avatar
  • 261

15 30 50 per page