Drupal general concepts that you should know
namespace: In simple terms, think of a namespace as a person's surname . If there are two people named "John" you can use their surnames to tell them apart. https://stackoverflow.com/questions/3384204/what-are-namespaces Solve the issues of resuable code such as classes or functions. namespace example: the file foo.txt can exist in both directory /home/greg and in /home/other , but two copies of foo.txt cannot co-exist in the same directory. In addition, to access the foo.txt file outside of the /home/greg directory, we must prepend the directory name to the file name using the directory separator to get /home/greg/foo.txt . This same principle extends to namespaces in the programming world. Avoids namespace collisions Name collisions example: you create a function named db_connect, and somebody elses code that you use in your file (i.e. an include) has the same functio...