asp.net - PHP/Drupal Gotchas? -


I am starting to switch from asp.net to PHP, and also from Drupal.

In ASP .NET, if the user has cookies or JavaScript close, it can present many unexpected problems and complications. Most users have default settings (on, turned on), but when they do not, the soil hits fans and where "bug" can be confused.

What other types are there for PHP and Drupal? If javascript, cookies will stop, then what are the problems?

  • Do not delete the user with id 0, it is an anonymous user Many funny bugs will give.
  • Drupal will cache pages for anonymous users. If you run some code by going to a particular page and so on, they can sometimes give some problems because they will only get a cached version and you will not work. However, it has a major performance advantage.
  • Drupal has used OOP using "hook" , so failing to correctly rename your function and make the difference between success.
  • There is a lot of information about Drupal cache for menus and theming systems, if you start feeling disappointed, because your style or markup changes do not take effect, try to empty the cache.
  • Get acquainted with this, will save you a lot of time while working on the site.

I'm sure there are too many, but this is some of the top run over time.


Comments

Popular posts from this blog

oracle - The fastest way to check if some records in a database table? -

php - multilevel menu with multilevel array -

jQuery UI: Datepicker month format -