Re: Module Development - Stuck
Do you know the best way to just have code?
I have some advanced functions where I need to make multiple queries and parse the information before submitting data to the screen and would just prefer a function or whatever I can just code in PHP vs having to link five, six, ten files. I say this because I was watching that creating module video and one needs to go Model, then Model/Repo, then Admin/en/View, etc. I just want to make my call and then write hundreds of lines of PHP code.
I do understand the desire to have XC allow for less PHP coding by using templates but I honestly prefer systems that just link to a blank slate like say Wordpress where one can just start freely programming.
I know this isn't WP but I have created dozens of modules for that system (along with applications) and you just linked into a few functions and off you go writing all the code you want without having to deal with dozens of separate small template files to link things together. In WP the module has to be self contained. I again know XC isn't WP but all I want is just call a main function and freely program.
__________________
Respectfully,
Jeremy
X-Cart 5.3 running on:
* Web server: Nginx with PHP-FPM via FastCGI (Opcache enabled)
* Database: Percona Server
* OS: CentOS
|