Welcome Guest, Not a member yet? Register   Sign In
Message Lib instead of Mail only ?
#8

(10-05-2016, 12:59 AM)sv3tli0 Wrote:
(10-04-2016, 04:29 AM)Narf Wrote: Both can exist ... if there's a generic messaging library, it could have an email adapter built on top of Email\Message.

Its an option yes.
 
Those days almost all sites built have integration of some  3rd party application with messaging/notifications or SMS verification and etc. (all the time sending some messages to somebody out of the site)..

I think that replacing the email with messenger with email "adapter" and providing the interfaces to build other type of messenger adapters is a good idea for this new major CI version . Emails performance won't be worse if it follows such structure, just instead of loading an email lib it will be a messenger factory > email.

You don't quite get what I'm saying - replacing is pointless. It will solve your problem, but will make others unhappy.
If I only want email, I don't want needless abstractions forced upon me.

CI\Email must remain stand-alone. The point of adapters is to act as mediators, not concrete implementations.
Reply


Messages In This Thread
Message Lib instead of Mail only ? - by sv3tli0 - 10-03-2016, 12:41 AM
RE: Message Lib instead of Mail only ? - by Narf - 10-04-2016, 04:29 AM
RE: Message Lib instead of Mail only ? - by Narf - 10-05-2016, 02:48 AM
RE: Message Lib instead of Mail only ? - by Narf - 10-05-2016, 05:51 AM



Theme © iAndrew 2016 - Forum software by © MyBB