Commit while tired
This commit is contained in:
parent
d7ce9bc8c5
commit
df412c0c1b
1 changed files with 45 additions and 27 deletions
|
@ -21,40 +21,46 @@ Note: my name's ben, i have been a worker and owner at the worker-owned Agaric c
|
|||
|
||||
---
|
||||
|
||||
## When There's Not a Module for That:
|
||||
### How to Make (and Maintain) a New Module
|
||||
## When There's *Not*
|
||||
## a Module for That:
|
||||
### How to Make (and Maintain)
|
||||
### a New Drupal Module
|
||||
|
||||
---
|
||||
|
||||
### Be a part of something bigger
|
||||
(but not as big as all of Drupal)
|
||||
|
||||
#### Commerce
|
||||
#### Extra Field
|
||||
#### ECA
|
||||
#### Search API (and friends)
|
||||
|
||||
Note: Build on or with some major —and with luck join a community of
|
||||
|
||||
----
|
||||
|
||||
#### Commerce
|
||||
|
||||
----
|
||||
|
||||
#### Extra Field
|
||||
|
||||
----
|
||||
|
||||
#### ECA
|
||||
|
||||
----
|
||||
|
||||
#### Search API
|
||||
|
||||
And friends including Facets and Better Exposed Filters
|
||||
|
||||
-----
|
||||
|
||||
##### BEF Links Filter
|
||||
##### Example: BEF Links Filter
|
||||
|
||||
[drupal.org/project/bef_links_filter](https://www.drupal.org/project/bef_links_filter)
|
||||
|
||||
Search API's friends include Facets and Better Exposed Filters
|
||||
|
||||
Note: By extending BEF Links module, we were able to get a lot of power— with a much better user experience, thanks to our ~250 lines of code altogether.
|
||||
|
||||
----
|
||||
|
||||
#### Look for plugin opportunities
|
||||
|
||||
Literally, look for plugins,
|
||||
|
||||
in `src/Plugin` of whatever modules you are operating in the vicinity of.
|
||||
|
||||
BEF Links Filter is a `better_exposed_filters` plugin in about 250 lines of code altogether.
|
||||
|
||||
|
||||
Doing your own or copying
|
||||
|
||||
---
|
||||
|
||||
### Steal, and keep stealing
|
||||
|
@ -68,10 +74,22 @@ Note: If you decide your module should have one of those button links you see at
|
|||
----
|
||||
|
||||
|
||||

|
||||

|
||||
|
||||
Note: Grep. Even when i am fully using an IDE for everything else, i grep in the regular command line when looking for text in a file. This habit is probably fueled more by failing to tell the IDE to index Drupal core and contrib modules more than anything else.
|
||||
|
||||
----
|
||||
|
||||

|
||||
|
||||
---
|
||||
|
||||
To be continued…
|
||||
|
||||
Note: Let me know what you build!
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue