You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Group files into subdirectories. For example, create the Dialog subdirectory and put your Dialog\ADialog and Dialog\FileSelector classes there rather than placing SimpleDialog and FileSelectorDialog classes into the root directory with view classes.
File operations
Don't use move_uploaded_file() and file_put_contents(). Instead, do all file operations via \Includes\Utils\FIleManager class.
Networking
Use \XLite\Core\HTTP\Request class, not \PEAR2\HTTP\Request
HTML & CSS
Follow the MVC design pattern and put all view-related components and files to the "View" part (view classes and templates). Model classes should not affect the CSS and HTML of your pages directly.