AndrewRadchenko Posted June 17, 2017 Share Posted June 17, 2017 (edited) Prestashop 1.7+ is based on Symfony. Symfony local environment debug mode means, that you runs command "php app/console (or bin/console at Symfony v3+) server:run" to start local webserver emulation and to view your project with local browser at localhost address (e.g. 127.0.0.1) without any WAMP, MAMP, XAMPP etc. Also, local debug mode means, that you use app_dev.php prefix to view site in debug mode (with error and performance reports, profilers and other cool symfony features) There is also commands in Symfony like "php app/console (or bin/console at Symfony v3+) doctrine:schema:validate)", to validate if Doctrine entities model correlate with Mysql database. So my questions are: 1. Is Prestashop 1.7+ support "php app/console (or bin/console at Symfony v3+) server:run"? 2. Is Prestashop 1.7+ support Symfony app_dev.php debug mode? 3. Should I use "php app/console (or bin/console at Symfony v3+) doctrine:schema:validate)" to ensure that model and database are correct? 4. Are there any plans to use Twig instead of Smarty? Thanks. Edited June 17, 2017 by AndrewRadchenko (see edit history) Link to comment Share on other sites More sharing options...
razaro Posted June 17, 2017 Share Posted June 17, 2017 Hi and welcome to the forum. Prestashop 1.7+ is based on Symfony. Well this is not quite true, it is not based, but PrestaShop do use Symfony and it is version 2.8.6. It is used though just in back office Product and Module page., so not whole store for sure. And if you install 1.7 version you can test commands you want but if you enable debug mode you will see on just those pages Symfony web debug toolbar. For plans maybe in 2.0 but who knows when that is going to happen. Link to comment Share on other sites More sharing options...
SPolischook Posted August 5, 2020 Share Posted August 5, 2020 Hey, @razaro Do you know any way to help to this migration? Is it in progress now? Can Symfony community to help with this somehow? Link to comment Share on other sites More sharing options...
razaro Posted August 6, 2020 Share Posted August 6, 2020 hey @SPolischook Yes it is in progress think with every 1.7 version more admin pages got turned to Symfony ones. You can see in demos it is slightly different theme on different admin page. Check this https://build.prestashop.com/news/prestashop-in-2019-and-beyond-introduction/ could be interesting for you. But answer to your question about help please ask on prestashop.slack.com Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now