Questions tagged [mvc]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
1answer
160 views

How to debug pset8 search.php?

Hello I have trouble to do any debuging in search.php pset8. In previous problems there where always some way to print my variables and figure out what was wrong with my querys och logics. However in ...
0
votes
1answer
57 views

pset7 sell: MVC problem

I can't seem to connect my sell_index.php (Where I get the symbols in with query) with my view, sell_form.php, because $symbols is empty. I have sell working if I directly get symbols in sell_form.php,...
0
votes
3answers
101 views

Webdesign (final project question)

so I am having a bit of a problem here with editing my web project. This is my main.php: which is located in /final/public/main.php <?php $path = $_SERVER['DOCUMENT_ROOT']; $path .= "/...
0
votes
1answer
46 views

which files must be in public directory? how to hide the others?

According to the MVC concept, the users of the website should not see any logic involved in the website development. But if we look at the pset7, for example, there are files like buy.php, sell.php ...
0
votes
0answers
118 views

How to use AJAX in C$50 Finance?

Corresponding to the MVC design flow, how do we use AJAX to make requests. Say I have a delete.php in /public and delete_form.php in /templates. Now the form gets rendered when someone clicks Delete. ...
2
votes
1answer
147 views

Does CS50 Finance follow MVC design?

To the experts, is it designed by following the MVC approach or is it just procedural programming that separates logic and views?