T
T
Temur Begiev2015-04-05 18:53:37
Books
Temur Begiev, 2015-04-05 18:53:37

Where, how to find books about creating templates for Opencart from scratch?

I can't find books or websites or video tutorials on creating templates from scratch for Opencart. For example, for WP there is such a site as wp-kama.ru. Is there a similar site for Opencart?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
S
sasha, 2015-04-06
@temurbegiev

I'm talking about the fingers of the
object pool - it's also a pool of singletons - it's also a registry in opencart. This is a tool warehouse with two main methods - put in the warehouse and pick up from the warehouse. It is initialized in index.php
The router in opencart works through the get variable route. And even more precisely, if there is no question mark in the url, then opencart will consider such a url to be CNC and will run the controller through seo_url, but that's another story. Through the get variable route, opencart understands which controller to call. The route variable is parsed by the constructor of the Action class (system/engine/action.php)
According to the MVC ideology, all requests are sent to the controller, the controller contains the logic, the model contains the tools for this logic, the view displays what the controller has done.
logic is like that. >index.php ........ $action=new Action($_GET['route']) > $action->execute(); and at this moment the controller is called in which all the meat happens. The controller itself, in turn, is also an object of its class (this is a separate topic, but each controller is essentially a class) and inside it there is a $this variable, which, if accessed, will be a register with all singletons (working with a database, working with currencies, languages, etc.) and will be all the models that will be loaded into this controller via the $this->load->model('account/login') singleton.
everything is sooooo concise, but if something is not clear, then you can ask. at work I deal with this miracle

D
Deodatuss, 2015-04-05
@Deodatuss

I searched for a long time myself ... but all I could find was "Damn it, everything is scattered around MVC anyway. Each file from the View is responsible for displaying a certain element! Edit as much as you like!"

A
Andrew, 2015-04-12
@Ashlst

Find video tutorials here.
forum.opencart.com
opencartforum.com

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question