When we write a class we each use of its conventions.
I recommend using the following properties of a class:
- If consists of a single word, all lowercase, for example $ name;
- If made of many words the first letter of each, starting from the second, in uppercase, all lowercase other, for example $ nomeAziendaItaliana;
- If a constant is composed of single-word write in all caps, for example ELEMENTS;
- If we have a constant composed of several words to write in all caps with a hyphen between the words, for example ELEMENTI_PER_RIGA
- The variable name must be self-explanatory
Continue reading ...
Refactoring or optimization of existing code.
Too often we as programmers we have to hand-code dirty, poorly written and full of bugs, with the risk that the elimination of an error chain genres other bugs.
There are two solutions:
- Take a nice white sheet from scratch and plan the application;
- identify the possibility of dividing the program into independent portions of code and rewrite the latter in order to improve it without making instant changes in macro.
The first case is the one preferred by the individual authors, but unfortunately for incidental needs (budget, timelines put online), the less viable.
Continue reading ...
Requirements:
- Apache version 2.0 or higher;
- Mono vesrsione 2.0 or higher;
- XSP Server version 2.0;
- mod_mono Apache module;
Nothing prohibits the use of different versions of software required, but it ensures operation.
I state that I am sorry that the instructions given here may not coincide with those specific for your distribution, but how well you understand I can not simulate the installation for any Linux Distro
.
In this tutorial I will explain how to interface Apache with Mono, so as to directly call. NET applications by Apache and not having to switch between ports other than 80.
Continue reading ...
Recent Comments