Welcome Guest, Not a member yet? Register   Sign In
Poll: Expanded driver mechanism?
You do not have permission to vote in this poll.
9 64.29%
0 0%
5 35.71%
Total 14 vote(s) 100%
* You voted for this item. [Show Results]

Expanded driver mechanism?

It would be nice if the pattern were better documented, and perhaps more consistently implemented (and if drivers were more easily extended). It's difficult to see much commonality between the implementation of drivers for the database and for sessions.

I implemented a simple authentication/authorization "driver" system and one to replace the form library for Bonfire (neither of which I ever really got around to integrating into Bonfire). More recently, I implemented a driver system for the library used to convert Markdown/CommonMark documents in Bonfire's docs module.

Almost anything which allows for a (relatively) simple interface, potentially including template libraries, can be implemented like this, it's just a matter of whether it is actually useful for the specific feature and what impact it might have on the overall performance of that feature.

Messages In This Thread
Expanded driver mechanism? - by jlp - 04-11-2015, 08:36 AM
RE: Expanded driver mechanism? - by ivantcholakov - 04-11-2015, 12:32 PM
RE: Expanded driver mechanism? - by mwhitney - 04-13-2015, 11:39 AM

Theme © iAndrew 2016 - Forum software by © MyBB