Maybe someone out there already found this… but Gmail and Mail.app are singing together quite nicely.
Today I was replying to an email from Mail and noticed something very interesting…
Then when you keep typing more… you will see the little box on the bottom saying your conversation in Gmail has been updated… Clicking on update will bring in the rest of the things you typed in another thread.
After the reply is sent, all the temporary threads in Gmail will be deleted and you will be left with one single reply message.
In an attempt to make my sites more dynamic and easier to manage, I use PHP includes quite extensively. I like the idea of make a change in a single file and have it propagated to other sections of the site that call upon it.
However, when you want to have multiple custom modules in Drupal to include PHP… it gets tricky. Depending on how your modules are written, it is usually not within the same scope as the Drupal core… therefore your variables should be global if you want to call them throughout the site.
include_once() and require_once() do not work so well in these situations.
I’ll give you an example. I have written a very large and complex custom theme for a client with ecommerce needs. I’m including a file called sales_price.inc.php that defines a bunch of variables for my ecommerce module. This file has been included in numerous modules with include_once().
When I try to include in my node_content templates using the *_once() functions… Drupal thinks the file has been included once even when it has not. This problem is not specific to the node_content module. When you have multiple modules calling the same file… using *_once() is not reliable at all.
The solution…? simple as hell. Use include() and require().
Got another Drupal project booked… this time I’ll be using UberCart instead of OsCommerce. UberCart is a native Drupal module that offers comprehensive e-commerce features to the platform. UberCart does require some effort to configure and it really doesn’t work straight out of the box (unlike OsCommerce) but it takes full advantage of all the common Drupal goodies – CCK, View, taxonomy… Check back for more updates, and I’ll be posting my codes as the project moves on.
Previous employer (Alternatives Journal) is teaming up with Magazine Canada and Zinio.com to offer digital magazines. This will probably make my custom OsCommerce platform obsolete… but it’ll be interesting to learn how Zinio operates. Zinio is giving these magazines a very sweet deal and I was surprised to learn that most of their services are free (for the duration of the contract – 2 years).
I got the feel that they are trying to suck in as many clients as possible by offering free incentives to publishers and customers. However, a glance at their UI left me with much to desire. I didn’t see any innovative features at all… at the end it just felt like another Flashpaper viewer with embedded PDFs. When compared to more polished services like issuu.com, Zinio has some work to do.
I still haven’t seen any paperwork from Zinio, but the challenge will be to mesh our existing e-commerce effort with their system. Customer databases need to be synced… financial reports need to be combined and analyzed…. all the fun stuff. Expect more updates.