Django and NoSQL, any ready-to-use library? [closed] - django

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 3 years ago.
Improve this question
So far Django has good integration with several RDBMS. NoSQL, schema-less and document-oriented DBMS are picking up. What's the status of integration those on-trend and fashionable DBMSes with Django? Are there any production-ready or at least ready-to-use libraries for Django?
So far I have these at hand:
http://github.com/lethain/comfy-django-example
http://nosql.mypopescu.com/post/276069660/nosql-libraries#mongodb-python

Pre 1.0, django ORM underwent a major queryset re-factor. One of the reasons for this was "This re-factor enables us to support non relational backends".
The official support I think is definitely on the cards; but I think there were more pressing matters for 1.1 and 1.2(now in beta).
However, there are of course several independent efforts to use non relational databases with django, including, but not limited to the following:
Django-nonrel by Waldemar, who made django work on the appengine using the appengine patch.
Using django with mongo db, by Kevin Fricovsky: http://bitbucket.org/gumptioncom/django-non-relational/
Using django with couch db, an old post, by Eric: http://www.eflorenzano.com/blog/post/using-couchdb-django/

Neo4j- the Java graph database (on the other end of the NoSQL spectrum)- also has initial support.
EDIT:
I've spent quite a while fleshing this support out and moving to a remote protocol. You can see the results on GitHub.

Until there is official Django support of a MongoDB back-end, for auto-admin, etc. (wouldn't that be so great). I would take a look at mongokit, which is a thin wrapper over pymongo. There's a few alternatives, but mongokit has comprehensive documentation and is under active development.

Related

Beginner tutorial for Sitecore8 developer [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
I come from an ASP.Net (no mvc knowledge) background and would like to learn Sitecore 8 development.
Looking for basic step-by-step tutorials to build a site. But its hard finding them online. Some are for lower versions and the official site has articles on individual topics.
Kindly point me to any such articles that will help me learn the basics of building a Site for Sitecore8.
Thank you.
UPDATE
Here is a tutorial I've written, which will help beginners learn Sitecore development, by building a sample website:
https://saltandsitecore.wordpress.com/2017/04/01/building-a-sitecore-website-with-mvc-part-1/
There is plenty of information regarding Sitecore in the internet for a quick start. I would recommend just few of them:
http://learnsitecore.cmsuniverse.net/
https://www.cmssource.co.uk/blog/2012/June/basic-sitecore-development-tutorial-part-1-introduction
https://sitecorebasics.wordpress.com/2011/05/13/basics-of-sitecore-for-beginner-developers/
You will need to understand how to create pages, how data templates work and presentation details like layouts and renderings and other fundamentals
https://doc.sitecore.net/sitecore%20experience%20platform/creating%20and%20editing%20items
https://www.cmssource.co.uk/blog/2012/June/basic-sitecore-development-tutorial-part-6-layout-and-sublayout-implementation
You will also need to find out some architecture basics about Sitecore, like content management and delivery servers and databases used for that (core, master, web). What is publishing and how it works, and why is it important.
http://learnsitecore.cmsuniverse.net/en/Editors/Articles/2009/07/PublishingAndVersioning.aspx
Also it would be very benefocious to understand Experience Editor (previously called Page Editor) and what are the particularities of creating pages to support it; as well as the advantages it brings to business users.
https://sdn.sitecore.net/upload/sitecore7/70/page_editor_recommended_practices_for_developers_70-a4.pdf
There are also some differences in MVC approach you need to understand before doing Sitecore with MVC. You need to understand View Renderings and Controller Renderings, as well as how the routing works in Sitecore MVC.
http://sitecore.unic.com/2015/06/24/the-sitecore-mvc-puzzle/
http://www.sitecore.net/learn/blogs/technical-blogs/john-west-sitecore-blog/posts/2015/02/how-is-sitecore-mvc-different-from-aspnet-mvc.aspx
http://www.sitecore.net/learn/blogs/business-blogs/technical-trends/posts/2012/06/mvc-and-sitecore-651-overview.aspx
There are other aspects of Sitecore you may need to understand: workflows, caching, indexing, pipelines, events, sitecore security model etc. Generally, speaking, the question you asked is to wide even to answer that by sharing the links. But those I quoted is enough to start
There are many YouTube channels that may be much more helpful for the beginner:
https://www.youtube.com/watch?v=yytEQnJpF1I
https://www.youtube.com/user/mastersitecore
https://www.youtube.com/user/sitecoreceptraining
https://www.youtube.com/watch?v=AQGtFA8Ud2Q&list=PL5QMcxdLbK7gGSTcPZJal2i5GHu1VHrl4
Also, if you budget allow that, you may consider to take official training courses - they are quite helpful for the beginners.
http://www.sitecore.net/services-and-support/training.aspx
The basics of building a Sitecore site are very similar from earlier versions of Sitecore. If you haven't been on the Sitecore training, I recommend doing that as it will teach you the main basics.
These are some good basic tutorials http://learnsitecore.cmsuniverse.net/en/GlobalNavigation/Sitecore-beginners-guide.aspx - although they are older, they are still valid.
Also the docs at https://doc.sitecore.net/sitecore%20experience%20platform can help you with Sitecore 8 details.

Recommended example applications written in Ember.js [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 5 years ago.
Improve this question
Which recent, public, medium-sized Ember.js applications do you recommend for learning about usage patterns by reading its implementations?
I'd recommend the Travis CI project - it uses Ember on the client side and Rail 3 on the server. While it doesn't use the latest Ember features it has very good foundations. You'll find the client-side code in a separate repo travis-web.
I also found reading through #ebryn's "New Twitter" helpful although it is older (Sproutcore 2) and smaller/simpler than Travis CI.
Update: Ember has gone through a number of big changes leading up to their 1.0 release so a lot of older example apps use deprecated APIs and are no longer representative of best practices. A new example to check out is Discourse (https://github.com/discourse/discourse) a large webapp built by Jeff Atwood and Robin Ward. Also, check out #trek's Ember Todos, a version of TodoMVC with a touch more process (https://github.com/trek/ember-todos-with-build-tools-tests-and-other-modern-conveniences)
I recommend the ToDoMVC project, which offers the same Todo application implemented using MV* concepts in most of the popular JavaScript MV* frameworks of today. Now ToDO MVC ember.js example adapts ember.js 1.0.rc1.
The website: http://todomvc.com/
The source: https://github.com/addyosmani/todomvc
Emberwatch has an Open Source Category with a list of interesting projects.
I recommend the http://www.embercasts.com/episodes/client-side-authentication-part-1 great to start with authentication.
And also it from smashing magazine http://coding.smashingmagazine.com/2013/11/07/an-in-depth-introduction-to-ember-js/
a good exercise is to put those apps to work in http://iamstef.net/ember-app-kit/ that has the current releases

Django and MongoDB in E-commerce? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 8 months ago.
Improve this question
sorry for this silly questions,
can someone share experience about combining Django in e-commerce when used with NoSql, if it's not MongoDB, so what about CouchDB or other Non-Document nosql?
which webserver to use when using e-commerce, cherrypy seems to have SSL? so Tornado is obsolete when using e-commerce + django?
I can't speak for the Django part since I've never used Python for web dev but this blog post from Kyle Banker is the best I've read so far describing the pros and cons of using MongoDB in e-commerce.
The hype around NoSQL (Mongo, Couch, ...) and e-commerce has mainly to do with ontologies, which are a very difficult thing to model into a fixed schema. For instance, fans, washing machines and HDDs all have the RPM attribute, while a monitor does not. Since it's impossible to model every classification and attribute for every product RDBMS usually rely on the very flexible EAV data model which is a pain in the ass to query / maintain in the long run.
Also, check out MongoDB and Ecommerce: A Perfect Combination.
You definitely gain flexibility by using MongoDB from the reasons that Alix has touched on, also it is very quick and sharding capabilities are built in, which means that scaling should be a bit easier.
However you will need ACID for certain aspects of what I believe you refer to e-commerce (a web version of a physical store, where you have products listed online, inventory control, sales records, etc) mainly around the issue of payment.
Long story short, if you break your "e-commerce" into 2 parts, being: " products listing" and "products purchasing" you can apply MongoDB to the first part and some ACID compliant (PostgreSQL, MySQL etc) to the 2nd part.
You'd need some sort of UUID for this of course.
Also, I'm not sure if this added complexity would be beneficial. If you choose to sell a restricted category of products, you can perhaps have smart SQL solution that'd still give you reasonable flexibility.
You could have for example all products in the same basic table, this table would have let's sat 20 columns for products' "features". Does a pair of jeans need all 20 columns? No, so use let's say 5. Does a car need all 20 columns? Maybe...
You could then have each product be associated with another table which would name the columns for you.

Opensource real django projects [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
I'm trying to learn Django. And need something to go beyond Hello world and Polls tutorial. Could you please recomend any real project written in Django? Tried to search, but found not many.
Especialy interested in usage of buildout.
My project, Open Knesset, is a django based project that uses data scraped from the israeli parliament (the knesset), analyses it, and presents it to users in more friendly and informative ways.
We use buildout.
The main repo is here in github.
Another place you should look at is djangosites.org, they have a list of django powered sites with source code available.
Pinax and Satchmo is the two most popular django opensource project. You will learn alot beyond just hello world, especially best-practices.
You could try OSQA or Askbot. They are open source Stack Exchange clones and are Django projects, go to their sites (1) and (2) to see them in action.
I believe everything on the Django Packages site is open-source: Django Packages
List of the open-source Django projects:
https://code.djangoproject.com/wiki/DjangoResources#Open-SourceDjangoprojects

Django Snippets Required [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
I'm a really tight schedule to code up a prototype for a website. I'm working with Django and am just starting out. Can you suggest open source Django snippets for the following:
1) A User Registration system (Registration/Authentication/Sessions)
2) A Rating System (Preferably a x/10 or 5 stars rating system)
3) A tags based search system
I'm really a noob and I need to get the version 1 out in 4 hours. So I'll just use open source code and modify it. I will make sure to keep the final version open sourced as well.
Check out the Pinax Project. That should cover #1 (OpenID) and #3 (tagging).
Your basic Django installation will provide users, authentication, and session handling right out of the box. For your user registration needs, you might consider django-registration. It's written by James Bennett, a well-respected Django contributor. For tagging, I've always used django-tagging.
I've never used a rating system in a Django application, but you might consider using django-ratings.
Good luck!
I never searched for your exact two examples, but django snippets is usually a really good place to start when looking for django code examples.