Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Demonstration of Extension Approach 1 #48

Closed
wants to merge 6 commits into from

Conversation

nimish-mehta
Copy link

No description provided.

Pikender Sharma added 6 commits March 30, 2016 17:15
Provide Schema and Support function DSL through ModelExtension
Provide Router Addition DSL through RouterExtension
Provide All Registered Extensions Consolidation through InstallExtensions
Hook into Nectar Models through NectarExtender
Hook into Nectar Router through ExtensionsManager.Router
Added extensions_manager app as umbrella dependency to nectar
Added favorite_products app as umbrella dependency to extensions_manager
Registered Product and User Extension in ExtensionsManager.ExtendProduct and ExtensionsManager.Extenduser present in install_extensions.ex
Added UserLike Model under favorite_products
Added UserLike Migration for favorite_products
Registered Favourite Products Route Extension in ExtensionsManager.Router present in install_extensions.ex
Added ExtensionsManager.Router.mount to NectarRouter to register ExtensionRoutes too
Added Dummy Route in FavoriteProducts.Router to use favorite_path Route Helper [Hack]
Added Favourites Index Page to show Favorited Products and List of Products to Favorite
Added Mark / Unmark a Product as Favourite
Touched nectar/web/web.ex to show require ExtensionsManager.Router :)
@pikender
Copy link
Contributor

pikender commented May 5, 2016

Extensions Manager is merged to master
and Demo branch created for reference to integration of extensions #64

Checkout the Blog Series here

@pikender pikender deleted the extension/approach-1 branch May 5, 2016 07:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants