Choose your database:
AnySQL
MySQL
MS SQL Server
PostgreSQL
SQLite
Firebird
Oracle
SQL Anywhere
DB2
MaxDB

Subscribe to our news:
Partners
Testimonials
Grey: "We're a two-person company, it's just me an my wife. I'm the technical guru, and she handles the business operations. I have to know a lot about MySQL, but that's much too technical for her. I have frequently had to setup CGI scripts (I code in Perl) so she can manage some of our tables (suppliers, manufacturers, etc).

I discovered PHP Generator a couple of days ago, tried the free version,and within a few hours I had purchased the Pro version (as well as SQL Maestro for MySQL).

Today I am completing the conversion of the last of my custom table managers to PHP Generator. This is eliminating several thousand lines of code that I don't have to support any more!

Thanks for this fantastic product".

Steven Langfield: "I wanted to drop you a mail to say how freaking AMAZING your software is. It will be the best £100 I have ever spent. I have still to read all your documentation to take full advantage but what you have created is truly amazing".

More

Add your opinion

PHP Generator for MySQL online Help

Prev Return to chapter overview Next

Style sheets internals

Style sheets structure

PHP Generator's style sheets are made with LESS, a dynamic style sheet language that can be compiled into Cascading Style Sheets (CSS). The choice of Less is motivated by such advantages of this language as variables, mixins, functions and many other techniques that simplify the development of large style sheets.

 

All .less files are stored in the components/assets/less folder of the output directory. The main.less file references (directly or indirectly) all styles defined in other files and subdirectories of this folder as well as user-defined styles, which are stored in components/assets/less/user.less. Current color theme is defined in components/assets/less/theme.less. When you click "Generate" in PHP Generator for MySQL, the software automatically compiles main.less and saves the results to components/assets/css/main.css.

 

Manual compilation of LESS files

You might want to compile .less files manually. To do so, you will need to compile main.less using any .less compiler you like. For example, you can use dotless.Compiler (a command-line compiler that comes with PHP Generator and can be found in SQL Maestro Group\DotLess inside the Common Files directory) using the following command:

 

dotless.compiler.exe -r -m full/path/to/main.less

 

Visit dotless.Compiler wiki to find more info on using this tool.



Prev Return to chapter overview Next