- Posts: 49
- Thank you received: 0
Please Log in or Create an account to join the conversation.
Right.From what I understand (correct me if I'm wrong) is that your main window, the file is main.php.Tout builds within this view, other view files in the folder are pieces to be placed in the main window.
Actions are in the /tool : saveXxxx.php, deleteXxx.php, ...1 / I do not know if all actions are all the main.php or is every views that support his actions?
No, no specific pattern. Just "convention" rather than "description".2 / I read in a previous post what role each played folder and your architecture does not meet completely the MVC design pattern, which is why I want to know if you have some kind of pattern (such as drawings MVC existing on the internet) that shows how each of your parts to interract understand better now?
Not exactly. Each action can be considered as a controller. Some kind of MVC 1.(Because to me it looks like a reversed MVC without the C where all actions and commands are executed at views)
Why not ?3 / Why did you choose Dojo?
Why not ?Why not not using jQuery
Dojo is almost everywhere : fields are dojo managed (automatic format control, auto extendable text area, calendar control, grid view for lists, tree wirdget, ...).(what are the advantages to face Dojo jQuery for this project?)?
What are your main use Dojo?
Save and retreive Data to the Database...4/Je am not too comfortable with the persistence framework for php, what is its purpose?
Really most important are :5/Quels are your key files (not those who develop functionality but just those that establish the relationship between the parties for the proper functioning of your software as: projector.php and others that I do not necessarily know)? And what roles play?
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
In /view, you can find display and formatting functions.What disturbed me was that the functions in certain files from view. I thought the controllers were included in the views.
Yes.So to summarize, when you start the application, the file main.php containing an empty window is called.
Yes. First page is Today.php.Once the latter called main.php call other views to be the first page.
If operation is just display new page or new item, file is in /view.After the page is created, if the user decides to perform an operation.
which is sent to the application? (a file in the tools directory? If yes, which one?)
Yes. It is an Ajax call, using dojo.xhrPost().By what means it is sent (Is this Dojo does)?
No. Calling the dedicate file is enough to know what to do.Is there a file in the tools directory decodes the request to understand what to do?
No. Dojo is just a javascipt framework. It brings widgets and cross browser compatibility when writting javascript. It has nothing to do with MVC.Is this Dojo is one that will connect all parts of the MVC? (if yes, how?)
No. Font controller is /tool/projector.php : it controls session, habilitation and global rooting.Is that it is he who has the role of the front controller? (He manages all that I said earlier?)
All depends on the action... It's can be complex.I would like to know what are the steps followed when a user action?
There is no connection with main.php : it is just a container.Know the process and the connection between the file main.php, Dojo, the tools directory, the other views, and possibly the mode
Please Log in or Create an account to join the conversation.
En poursuivant votre navigation, vous acceptez le dépôt de cookies tiers destinés au bon fonctionnement et à la sécurisation du site (gestion de session, reCaptcha) et à une analyse statistique anonymisée des accès sur notre site (Google Analytics). Si vous vous inscrivez, les informations que vous fournirez ne seront jamais divulguées à un tiers sous quelque forme que ce soit. En savoir plus
Ce site utilise des cookies pour assurer son bon fonctionnement et ne peuvent pas être désactivés de nos systèmes. Nous ne les utilisons pas à des fins publicitaires. Si ces cookies sont bloqués, certaines parties du site ne pourront pas fonctionner.
Ce site web utilise un certain nombre de cookies pour gérer, par exemple, les sessions utilisateurs.