November 20, 2009
I had a great time last weekend taking part in DrupalCamp Austin as a learner, a helper, and a presenter. I also enjoyed sharing an apartment and eating meat (and/or ice cream ) with my fellow Commerce Guys, Mike and Tim, and it was doubly fun to get reacquainted with folks I hadn't seen since last year's Drupalcon Szeged or Do It With Drupal.
As a learner at Drupal events, I tend to benefit most from sessions that discuss meta issues in Drupal development... how to grow your community or business, interact with clients, deploy and manage sites in the wild, etc. Ben Finklea of Volacci didn't disappoint with the weekend's opening keynote session, Building a Successful Drupal Business. He focused a lot on building good business processes for tasks ranging from managing sales leads to hiring. I missed out on Ben's SEO chat later but actually had the pleasure of joining him for church on Sunday morning, a rare opportunity on a Drupal weekend!
As a helper, I had fun doing a little bit of Drupal / Ubercart triage in the Commerce Guys room. Myself and a few other experienced Drupallers fielded questions and offered site building advice to various folks looking to iron out issues with their latest sites and prepare for upcoming projects. Aside from the communal eating of meat and ice cream (see above... and below), this is probably my favorite part of Drupal events.
Last, as a presenter I walked through the installation and configuration of Ubercart starting with the UberDrupal installation profile. It's not perfect, but it gets the job done and helped folks in the audience visualize how to use the sweet Acquia Prosper theme and leverage Ubercart's core systems. I was scheduled to discuss the ongoing Ubercore Initiative the next day, but most in the crowd were there because they had chosen Panels over Ubercart the day before. So, with a slight adjustment, I presented another Ubercart overview with glimpses of the plans for future development (like those in my last post on products). Those interested in learning more than that session afforded should hop in the #d7uc IRC meeting scheduled for Nov. 20 at 1 PM EST and keep an eye on http://d7uc.org.
On the recommendation of Todd Nienkerk of Four Kitchens, I drove the rental with Mike and Tim down to Driftwood, TX (nowhere near a beach) for some Salt Lick BBQ. They brought us plates piled with meat fresh from the open fire pit, treating our taste buds through our yummiest business planning meeting ever. Here's hoping there's a trip to Austin (for Drupal and/or BBQ) in my future!
November 8, 2009
This is the second in a series of posts outlining the ideas driving the Ubercore Initiative forward. We've had a lot of positive feedback from developers eager to dig into Drupal 7 to re-implement Ubercart's features like the awesome vision of products outlined below.
For starters, when we gathered for the Ubercore planning sprint in San Francisco, we began by nailing down the core systems without which we wouldn't have an e-commerce system and which we needed to build out other essential features. The links above are our whiteboard scribblings based on Ubercart's current features, but the one we gave the most time to was the core product system. The resultant notes and discussion summarized in this post may be viewed here.
In short... it's gonna be awesome, and it's all thanks to Drupal 7's Fields API. Products are already great in Ubercart, but as one person recently tweeted, the implementation thus far has been a little awkward. Furthermore, from a data standpoint, it's been quite limiting.
How about a visual? It's my first go at Omnigraffle...
Currently, Ubercart defines a new product node type on install and gives you the opportunity to clone multiple new product node types called "product classes." These can then have default attributes assigned to them, which are customer selectable alterations to products at the point of purchase. For example, your merchandise store can have a t-shirt product class with a size attribute attached to it that your customers choose when adding the shirt to the cart. Each of these attributes can result in a price, weight, or SKU adjustment as well. There are also multiple product types defined at the module level, so that regular products function differently from product kits, each having their own add to cart form and functionality in the cart.
Problems come in you try to define just what a product is. Is it a node? Well, with SKU adjustments, aren't more than one products visible on a single node? How does Ubercart know those altered SKUs exist? There are implications here adversely affecting the development of stock control systems, sales and product reports, the shopping cart and order product handling, representing non-tangible products, and more. Happily, we have a plan we think will address these shortcomings without losing any of our current features.
So, what is the future of products? As fago hinted in his post, the future of products is entities, not nodes. We're separating "what a product is" from "how a product is displayed" and making products themselves top level, fieldable entities. Thanks to bundles, we'll still have multiple product types with various attributes, but instead of the current system where attributes are very loosely defined, we'll be moving more toward a product database where each individual product is defined and described by fields you add. Whereas before you might have had a single t-shirt product node with three variations thanks to a size attribute, you would now define a t-shirt product bundle and enter in the three variations with their SKUs and sizes set.
To handle product display, we'll be using a field that lets you specify which products to show on whatever the field is attached to (like a product display node) and how to prepare them for display. The products selected might all be listed individually for the user to select from a radio list. They might be grouped on their size field so that a size select list appears on the add to cart form as it does now. They might be sold all together at a set price as a product kit. We want this product display field to be flexible and to correct the difficulties people have in working with the current add to cart form.
This approach will clarify what a product is (a bundle of fields, including at least a SKU and a default title / price) and provide greater flexibility in how it is displayed (contributed field formatters, anyone?). Modules working with the product system, like stock control modules, will now have a unique product ID to refer to instead of a node ID with an array of attribute selections. We'll have better Views integration and end up with a product entry field that could attach an add to cart form to any entity.
Honestly, I could go on, but I'll stop here. This is already more gushing than I was planning to include in a single post. If you want to read more, hear what other people are thinking, and provide some feedback, you can check out the brainstorming thread, comment here, or keep an eye on the fieldable product meta issue as we flesh out the development tasks.
If you want to help make it happen, don't be shy.
November 8, 2009
Top Notch Themes released the first beta of Fusion recently, a base theme that works in conjunction with the Skinr module to fulfill their vision for the future of theming and theme configuration for Drupal. They even have a theme in development that takes full advantage of the new base theme called Acquia Prosper that pretties up your site for selling stuff with Ubercart... in my opinion, their best theme on d.o to date.
However, I'm not just writing to share the good news about their release. In conjunction with their work, I have a little fun development of my own to share.
Friday evening, I buckled down to do something I'd been needing to do for a while... I updated the UberDrupal installation profile to install and configure Acquia Prosper out of the box. With that profile, you can have a functioning Drupal store in no time flat that even integrates with the sharpest contributed theme for the task! There are several modules and themes you have to have on hand before running installation, and I'll be writing those up and presenting how to use it at DrupalCamp Austin and Do It With Drupal in the next month.
Those interested in the future of Ubercart on Drupal 7 and beyond may have heard of the Ubercore Initiative. This recent development on UberDrupal was motivated in part by our goals for d7uc of improving the "packaging" aspect of what Ubercart is. We're looking to address the split personality of Ubercart as a component module vs. a ready-to-use e-commerce application. Right now, the project suffers from a lack of focus in the component module space, having incomplete Views support (requiring even a separate project to get the job done) and little integration with other major contributed modules (product image support notwithstanding). In the application space, it is limited in that there's only so much you can do through hook_install() and hook_enable(). We're hoping a bit of clarification and planning can improve it in both these areas to make Drupal the best e-commerce platform on the web.
This post will be the start of a mini-series with aggregate thoughts gathered from my notebooks, d7uc conversations, and chats on how we can improve Ubercart in the future through d7uc. I'll try to keep them short and to the point and toss in some pretty pictures and diagrams. There's been a LOT of good brainstorming so far, and I can't wait to make these plans a reality.
The future is bright.
October 24, 2009
I've blogged before about what it means for a Christian to fear God, especially in conjunction with my thoughts on 1 Peter 1:17, "And if you call on him as Father who judges impartially according to each one's deeds, conduct yourselves with fear throughout the time of your exile." Christians differ on what it means to fear the Lord, and non-Christians generally question both the need and propriety of such a doctrine in respect to a loving God.
I found some unexpected wisdom to this point in a letter by Jonathan Edwards. The quote below comes from a discussion on Christian assurance in relation to the shortcomings of the first Great Awakening:
"And I am persuaded we shall generally be sensible, before long, that we run too fast when we endeavor by our positive determinations to banish all fears of damnation from the minds of men, though they may be true saints, if they are not such as are eminently humble and mortified, and (what the Apostle calls) "rooted and grounded in love" [Ephesians 3:17]. It seems to be running before the Spirit of God. God by his Spirit does not give assurance any other way, than by advancing these things in the soul. He does not wholly cast out fear, the legal principle, but by advancing and filling the soul full of love, the evangelical principle. When love is low in the true saints, they need the fear of hell to deter them from sin, and engage them to exactness in their walk, and stir them up to seek heaven. But when love is high, and the soul full of it, we don't need fear. And therefore a wise God has so ordered it that love and fear should rise and fall like the scales of a balance."
In other words, such fear isn't meant to last. It's a condescension, a means of preservation for the believer until he attains such a maturity in his love for God that he needs no other impetus to persevere in the faith to the end of his days.
John Piper recently posted another link to an Edwards quote that was foundational for him in the formulation of what he calls "Christian hedonism." He pulls a lot from Edwards, Lewis, and a myriad of other respected, historical theologians. This particular link is to a paragraph explaining the way that our delight in God is the climax of our glorifying God. Check it out and check out C.S. Lewis' sermon "The Weight of Glory" (attached) for more.