Hello!
This is my first forum post; please forgive me and advise if this topic is in the wrong forum.
Is there a Sphinx (http://www.sphinxsearch.com) plugin for EE developed yet? We will be developing a directory-like application using ExpressionEngine, and found Sphinx to be the best tool for the job because of it’s fast indexing, querying, and geo spatial support.
If not, we will start developing one, but didn’t want to risk reinventing the wheel.
Cheers, Mike
Thanks for the response.
I’m now starting to familiarize myself with the architecture of EE. So far, so good - looks impressive.
Reading the following article from the knowledge base, http://expressionengine.com/knowledge_base/article/what_is_the_difference_between_a_plugin_a_module_and_an_extension/, I understand that I’m probably looking at creating a module rather than a plugin.
I’m having a hard time understanding how to work with hooks. I need to run some code each time a field group is created or modified (including the fields associated with that group). Can someone post or refer me to an example please?
Oh, and is there an article that describes the db structure in detail? I need to select all fields belonging to a field group.
Thanks, wish me luck! 😉
Cheers, Mike
Thanks Ingmar.
I found the data I needed in the database and will be creating views to make Sphinx happier. Getting deeper into the documentation, I think I’m developing a plugin (as I’ll be writing new tags), and a module (to setup sphinx and provide a control panel menu for indexing). Can the plugin somehow be combined in the module? I’m thinking only in terms of packaging.
Thanks, Mike
Most people usually make a .zip file of their modules. I’ve seen people just bundle a plug-in or extension along with the module in a .zip. I don’t think there’s any way to actually put a plug-in inside of a module.
I haven’t found an article that describes the DB structure - I’ve just poked my way around and figured things out. I’d love to know if such a thing exists. If not it would make a good feature request.
Regarding understanding hooks, I personally just read through the tutorials and dev docs and then started experimenting. It took a bit, but if you’re familiar with PHP it will end up making sense. Finding the right hook can be difficult at times.
Thanks Ingmar. I found the data I needed in the database and will be creating views to make Sphinx happier. Getting deeper into the documentation, I think I’m developing a plugin (as I’ll be writing new tags), and a module (to setup sphinx and provide a control panel menu for indexing). Can the plugin somehow be combined in the module? I’m thinking only in terms of packaging. Thanks, Mike
A module has the ability to replace ee template tags like a plugin does. You shouldn’t need a plugin and a module, only the module part. mod.module_name.php handles the replacements.
I’m pretty sure there is info in the docs.
Cheers
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.