Need advice about which tool to choose?Ask the StackShare community!
Amazon Cognito vs Magento: What are the differences?
Developers describe Amazon Cognito as "Securely manage and synchronize app data for your users across their mobile devices". You can create unique identities for your users through a number of public login providers (Amazon, Facebook, and Google) and also support unauthenticated guests. You can save app data locally on users’ devices allowing your applications to work even when the devices are offline. On the other hand, Magento is detailed as "Flexible eCommerce solutions, a vibrant extensions marketplace and an open global ecosystem". Magento Community Edition is perfect if you’re a developer who wants to build your own solution with flexible eCommerce technology. You can modify the core code and add a wide variety of features and functionality.
Amazon Cognito belongs to "User Management and Authentication" category of the tech stack, while Magento can be primarily classified under "Ecommerce".
Some of the features offered by Amazon Cognito are:
- Manage Unique Identities
- Work Offline
- Store and Sync across Devices
On the other hand, Magento provides the following key features:
- Analytics and Reporting
- Product Browsing
- Catalog Browsing
"Backed by Amazon" is the top reason why over 11 developers like Amazon Cognito, while over 15 developers mention "Open source" as the leading cause for choosing Magento.
Magento is an open source tool with 7.52K GitHub stars and 6.43K GitHub forks. Here's a link to Magento's open source repository on GitHub.
According to the StackShare community, Magento has a broader approval, being mentioned in 147 company stacks & 48 developers stacks; compared to Amazon Cognito, which is listed in 40 company stacks and 12 developer stacks.
I am consulting for a company that wants to move its current CubeCart e-commerce site to another PHP based platform like PrestaShop or Magento. I was interested in alternatives that utilize Node.js as the primary platform. I currently don't know PHP, but I have done full stack dev with Java, Spring, Thymeleaf, etc.. I am just unsure that learning a set of technologies not commonly used makes sense. For example, in PrestaShop, I would need to work with JavaScript better and learn PHP, Twig, and Bootstrap. It seems more cumbersome than a Node JS system, where the language syntax stays the same for the full stack. I am looking for thoughts and advice on the relevance of PHP skillset into the future AND whether the Node based e-commerce open source options can compete with Magento or Prestashop.
Where im confused is why you think PHP isn't commonly used. It powers the grand majority of the internet, and as a language designed entirely around making websites (as opposed to general purpose languages like Java that have crammed in an http server to make it work for websites too), its a language that's incredibly easy to jump into, and offers a lot of flexibility and versatility on how to navigate web facing challenges.
Also don't kid yourself about the node "one language" ecosystem. You will find yourself often visually confused as you jump between editor tabs which .js is aimed at the browser, and which .js is aimed at the server, and gets even weirder when using js based templating engines. (This is why in my node projects with a front-end, I use Angular, which uses TypeScript),). JS was never intended to run outside of a browser based VM context, its just yet another language we've jimmyrigged an http compatible socket listener into and given filesystem access.
If you're worried about wasting your time jumping into bed with PHP, don't be. Its not only extremely widely used, but after 20 years its still incredibly relevant, high performing (you will be shocked to see how fast php7 actually is), high paying (yes, six figures), and the language itself has evolved leaps and bounds into a multi-paradigm beast of a toolkit bespoke to solving web challenges.
If you liked Spring, check out Symfony sometime. Its a PHP7 web framework that takes a LOT of inspiration from Spring, and pairs up with Doctrine, a PHP7 ORM that takes a great deal of inspiration from Hibernate. The company that makes Symfony, is also the same people behind Twig, which is so ridiculously good and popular, its been ported to pretty much every language including Java and node.
As for free packaged out of the box storefronts, Magento is a total beast of a package, and isn't for the feint of heart. But it is also THE most complete and ridiculously configurable self hostable e-commerce system you'll ever come across. Many web professionals have made entire careers completely around Magento. I am not one of them, but I have used Magento, PrestaShop, and several others, and I keep coming back to Magento. Outside of hosted shops like Shopify, Magento is, as far as I'm concerned, where you wanna be for a totally custom, plug-in based shop front for a website. The only time I'd recommend different, is if a customers website is powered by WordPress, then WooCommerce is where you wanna be.
I prefer to use Magneto because it open source and has a lot of extensions in it so it's so faster for building a website
We devised SwiftERM to generate additional income from existing consumers on ecommerce websites. Available for those using Shopify, Magento, Woocommerce or Opencart, it runs in alongside (not instead of) existing email marketing software like Mailchimp, Drupal or Emarsys. It is 100% automatic so needs zero additional staff. It uses predictive analytics to identify imminent consumer purchases. The average additional turnover achieved is 10.5%. It is the only software in the world authorised to send Trustpilot to send product ratings in outbound emails. Developers and ecommerce retailers are invited to try to it for free, to establish viability this predictive analytics system is. SwiftERM is a certified Microsoft Partner MPN ID 6197468.
I started our team on Amazon Cognito because I was a Solutions Architect at AWS and found it really easy to follow the tutorials and get a basic app up and running with it.
When our team started working with it, they very quickly became frustrated because of the poor documentation. After 4 days of trying to get all the basic passwordless auth working, our lead engineer made the decision to abandon it and try Auth0... and managed to get everything implemented in 4 hours.
The consensus was that Cognito just isn't mature enough or well-documented, and that the implementation does not cater for real world use cases the way that it should. I believe Amplify has made some of this simpler, but I would still recommend Auth0 as it's been bulletproof for us, and is a sensible price.
Pros of Amazon Cognito
- Backed by Amazon14
- Manage Unique Identities7
- Work Offline4
- MFA3
- Store and Sync2
- Free for first 50000 users1
- It works1
- Integrate with Google, Amazon, Twitter, Facebook, SAML1
- SDKs and code samples1
Pros of Magento
- Open source22
- Robust14
- Powerful12
- Widespread community support10
- E-commerce made easy8
- Mature4
- Flexible4
Sign up to add or upvote prosMake informed product decisions
Cons of Amazon Cognito
- Massive Pain to get working4
- Documentation often out of date3
- Login-UI sparsely customizable (e.g. no translation)2
- Docs are vast but mostly useless1
- MFA: there is no "forget device" function1
- Difficult to customize (basic-pack is more than humble)1
- Lacks many basic features1
- There is no "Logout" method in the API1
- Different Language SDKs not compatible1
- No recovery codes for MFA1
- Hard to find expiration times for tokens/codes1
- Only paid support1
Cons of Magento
- System is too complex2
- Slow2
- Processor hungry1