Skip to main content

All Questions

Tagged with
2 votes
2 answers
319 views

Tic-Tac-Toe vanilla JS Pseudo OOP

I'm working on building a simple game in vanilla JS (tic-tac-toe). Some weeks ago I created a functional MVP and asked some questions about it (Vanilla JS Tic-Tac-Toe). The code worked, but it was a ...
nabla-f's user avatar
  • 173
2 votes
1 answer
314 views

PHP OOP: Configuring MySQL DB & query w/ Twig

I decided to up my PHP game and learn some OOP. I am re-building my website from procedural to OOP, but since I don't want to use a full framework I fiddle with some components. As a router I use ...
bender's user avatar
  • 21
3 votes
2 answers
209 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
7 votes
1 answer
1k views

Chess application with GUI and AI in Java

I've included the files that I felt were relevant (i.e I haven't included the individual pieces in the inheritance hierarchy). I'm particularly curious as to whether the system as a whole is ...
L292092's user avatar
  • 409
1 vote
1 answer
187 views

Is this an good OOP Design in MVC PHP for getting User Details?

I was given a API project by my co-worker to work on half created a system in slim PHP. The project consists of the Models and controllers. When the route is called it calls the Controller with the ...
camille's user avatar
  • 147
7 votes
1 answer
1k views

Properly Structuring a Tkinter Application

I'm fairly new to object oriented programming and while I understand the basic concepts, I'm still having some trouble organizing my applications. I'm building a small Tkinter application as a ...
ShockDoctor's user avatar
1 vote
1 answer
1k views

PHP OOP MVC Project Structure

I'm a beginner in OOP and PHP frameworks. I used slim skeleton to create a project and designed the project in this way. Project structure is given by the slim skeleton. Object Mappers are added by ...
Tharindu's user avatar
  • 143
8 votes
0 answers
805 views

Battleship MVC Architecture

The entry point is the Macros module, which - for now - includes only a single procedure, at a very high abstraction level - I'm quite happy with this: ...
Mathieu Guindon's user avatar
4 votes
1 answer
175 views

Upload and database insert php function

I love to post here on codereview my code to have a feedback from developers that have more experience than me, to improve my coding skills. During these days I'm working on a webapp for a small ...
user9741470's user avatar
1 vote
1 answer
73 views

store and warehouse management class

I've already posted this PHP class few days ago when I started writing it. Now that all the methods and all the controller logics are ready, I will be ask here for some suggestions about how to ...
user9741470's user avatar
5 votes
0 answers
283 views

ATB strategy MVC architecture refactoring

NOTE: this question isn't as long as it appears to be. I added the comments to the code only to answer some possible questions that may appear. I'm making an active time battle strategy. Its mechanics ...
Gulvan's user avatar
  • 151
1 vote
1 answer
70 views

Clear data-model layer in Django MVC

I have a Django model User ...
Denny's user avatar
  • 141
1 vote
1 answer
183 views

Controller with abstract methods for a delete method

I'm studying OOP and MVC structure, and all my controllers extends the main controller, and almost all of them has a delete method, basically this: ...
Thiago Dias's user avatar
8 votes
1 answer
392 views

SFML dice game with logic-presentation separation

I asked for feedback on my Dice class and I was suggested that I should separate logic from view. I decided to completely refactor my project and I'd like to share ...
JohnDoe's user avatar
  • 113
1 vote
1 answer
150 views

Fat-free MVC Controller

I have this class containing a method that performs a few processes for displaying the payment page. ...
herondale's user avatar
  • 145

15 30 50 per page
1
2 3 4 5 6