📜 ⬆️ ⬇️

PHP business card

I am a programmer, not a designer. But this did not prevent me from drawing my own business card ...
But it helped me to write it.

I took the PHP programming language and syntax highlighting as a basis, which allowed me to write on it without exposing my eyes to unbearable loads.


It turned out this:
ver. 1
There were other options, for example:
ver. 2
… and even:
ver. 3
')
Then I tried to weigh the pros and cons of all the options:
ver. onever. 2ver. 3
Useful information gathered in a bunch
(no need to run around the whole business card)
+-+
Useful information is highlighted
(immediately striking)
++-
Alignment of useful information
(virtual table)
+/−+/−+
The presence of a frivolous note+--
Ability to "compile"--+

So far I have decided to dwell on the first option, since:
- anyone can read such a business card - the contact information is highlighted in color, everything else can be not read,
- it is convenient to read it - all data is in the same row, in the same color and size,
- it is easy to add or remove several lines with additional data (if there are too many empty lines, you can insert a couple of commented-out method calls with empty parameters).

Although here it is necessary to conjure a little. For example, the data itself does not hurt to align to the left (pick up the names of methods of the same length).


And what do you say?


upd : Option with tsiferkami:
ver. 4

Source: https://habr.com/ru/post/45850/


All Articles