What I’m Working On

I am currently working on a Drupal 8 and Apache Solr search implementation for a medical device company. The project involves installation and configuration of the Solr search engine and a custom module to perform whole-site search involving multiple content types displayed in the same search results, each with a unique template.


Also, my Diversity Avatars project reach #3 Most Popular Product on Product Hunt for April 7, 2018.

What Skills Should a Senior Web Developer Have?

Ramy Wafaa Illustration

I loosely follow various topics on Quora.com. Unlike many social media sites, I find that most of the answers to serious questions are respectful, well though-out, and cite references. Most of the questions I follow and answer are related to my role as an icon designer and web developer. I admit to occasionally getting sucked into a debate on religion or politics, but most of the time I successfully avoid these. A recent question piqued my interest. The question was, “What do I need to learn to build a site like Alibaba”?

Continue reading

in PHP | 4,619 Words

Theming Custom Entities in Drupal 7

One of the most useful features of Drupal is the ability to define one’s own content types and field types. Prior to Drupal 7 one could create custom content types (limited to Title and Body fields) without using any third-party modules, or add custom fields to existing content types using the Content Construction Kit (CCK) module. In Drupal 7 most of the features of the CCK were moved to the Drupal Core so it is even easier to create custom content types and add an arbitrary number and arrangement of predefined as well as custom fields to an entity.

Drupal 7 also saw the introduction of a new concept in custom content types: entities. Through this new API, Drupal 7 allows you to define a completely custom type of data object or entity which can have its own menu paths, callback handlers, and access, display and storage rules. Continue reading