In general, Daffodil is a frontend Ecommerce framework that allows developers to build complex Ecommerce stores.
Specifically, Daffodil is a frontend toolkit that accomplishes three things:
- Improve developer workflow when writing frontend software for Ecommerce stores.
- Provide a consistent frontend developer tool-chain regardless of a business's chosen ecommerce platform.
- Drastically improve the end-user experience of online-shopping.
Daffodil's features include the following:
- π Forever Free, Open Source, and MIT Licensed
- π¨ Platform Agnostic Drivers for your platform of choice
- Shopify
- Magento 2
- In-Memory Backend
- Prebuilt
- β‘ Great for lightning fast iteration and concepting
- π° Decoupled and Composable Packages for your use case
- Product
- Cart
- Checkout
- π Well Documented
- Example Implementation
- API References
- Tutorials
- π‘ Component Kit
- Purely Functional
- Themeable
- Accessible
- Supports Server-side Rendering
- Well Tested
- Fantastic Performance
- IE 11+ Support
Daffodil was developed so you can get started without connecting to a platform. Because of its driver-like nature, all you need is the following:
After installing the prerequisites, you can choose the packages that you want and get started using Daffodil with your new or existing Ecommerce store.
- To use Daffodil to build your own Ecommerce store, follow the steps in the Installation instructions.
- To view our progress of an example store or contribute one of your own, see the Developer documentation.
The target devopers for Daffodil include, but are not limited to, the following:
- Developers who want to explore and experiment with Progressive Web Apps (PWAs).
- Developers who are comfortable with Angular and are interested in job opportunities in Ecommerce.
- Developers who work with businesses that have existing websites but want a better user interface and experience.
- Developers who are forward-thinking, have gone through a re-platforming, and want to deflect future re-platforming.
For a basic Ecommerce site, you need all of the most commonly used packages (common packages), which are the following:
- @daffodil/cart
- @daffodil/category
- @daffodil/geography
- @daffodil/navigation
- @daffodil/product
- @daffodil/core
- @daffodil/driver
Note: Both the core
and driver
packages are dependencies for most other packages. Developers do not interact with these packages directly.
Referring to the aforementioned use cases, here are some lists and explanations of recommended Daffodil packages.
If you don't have a project in mind and want to see something in Daffodil working, then use:
If you want to expand your portfolio for more Ecommerce opportunities, then use the common packages and optionally include:
- @daffodil/design (optional)
You won't need to use more than the aforementioned common packages(#pwapackages) until you have a specific business use or requirement. However, if you are design-focused, then you can either use your own design framework or use the design
package.
If you have an existing site, either your own or backed by a business, then there are a few working assumptions about the site: it has SEO and specific URLs, and the product pages need to show lists of related products. So, in addition to the common packages, you may need the following packages:
- @daffodil/external-router
- @daffodil/seo
- @daffodil/related-products****
- @daffodil/upsell-products
- @daffodil/design
- @daffodil/contact
If you want to prevent future re-platforming of your Ecommerce site, there are a few assumed advanced requirements. For example, the business has complex product configurations and has marketing email campaigns. So, in addition to the common packages and the packages for improving user experiences, you may also need the following packages:
Below is a table of currently available Daffodil packages.
Project | Package | Version | Stability |
---|---|---|---|
Authorize.net | @daffodil/authorizenet | ||
Cart | @daffodil/cart | ||
Category | @daffodil/category | ||
Checkout | @daffodil/checkout | ||
Contact | @daffodil/contact | ||
Core | @daffodil/core | ||
Design | @daffodil/design | ||
Driver | @daffodil/driver | ||
External Router | @daffodil/external-router | ||
Geography | @daffodil/geography | ||
Newsletter | @daffodil/newsletter | ||
Paypal | @daffodil/paypal | ||
Product | @daffodil/product | ||
Composite Product | @daffodil/product-composite | ||
Configurable Product | @daffodil/product-configurable | ||
SEO | @daffodil/seo |
Note: About the checkout
package, it is currently a legacy package; there is no reason to use it. However, the checkout
package eventually may be filled with extracts from the cart
and order
packages.