Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 8 years ago.
Improve this question
I've never played with AngularJS but after some searching, many people seem to integrate the two frameworks together. What are the main reasons why people integrate the two frameworks?
Thanks for your help
I'm not overly familiar with any of the new JS frameworks, but I'm not sure the answer is any more complicated than "They are both popular frameworks". If you mean "Why use Django at all?" The answer is that you require an extremely robust backend when a lot of your logic is client-side (and thus easy for the client to manipulate). Django makes it quick and easy to set up a REST framework than you can hook into with angularjs and allows you to keep certain logic hidden from the client.
To add: People like AngularJS and other JS frameworks because they can provide a cleaner and more responsive user experience (form submission errors being displayed without the need for a form submission, as an example). A complaint I've heard before is that some people feel that Django does not do enough to separate the business from the display logic (something I personally disagree with, but that's irrelevant), so it's possible those people like the deeper separation you get by using AngularJS for all your display logic.
Related
Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 23 days ago.
Improve this question
Is a reducer like Redux really necessary when developing with ReactJS?
Is it just a way to design cleaner code?
If so, when?
No, reducers or Redux are not necessary. Vanilla React works fine, or other options, e.g. MobX.
Check out the Redux FAQ:
Dan Abramov, one of the creators of Redux, says:
...don’t use Redux until you have problems with vanilla React.
When to use Redux is an architectural opinion and the FAQ provides this guideline:
In general, use Redux when you have reasonable amounts of data changing over time, you need a single source of truth, and you find that approaches like keeping everything in a top-level React component’s state are no longer sufficient.
React is just a library to build UI. Not an entire framework. Using redux let you handle all the logic of your application in a clean way. There are other library similar to redux, but redux seems to be the way to go when starting a new project with react.
Short answer you do not have to use Redux but it is considerably easier on you if you do chose to use it, there is a lot of examples online which i can point you at where you can learn how Redux and React work. Note that React is only V(view layer) in MVC that being said react does one job and it does it really good that is displaying user interface.
Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 8 years ago.
Improve this question
Django uses a threaded architecture unlike Play framework which uses Evented architecture.
I wanted to compare Django with Play framework. Which one performs better if we deploy the services written in Django and Play on the hardware with same configuration, also given that business logic for the service has been written effeciently in both the frameworks? Which framework has the potential to scale to 1000+ concurrent requests?
Threads and events are not a dichotomy, Play gives you threads and an event loop.
This question is too broad, it really depends on what you're trying to implement - in many many use cases the web framework is not the bottleneck, it's the database. But if you insist on getting on a comparison that completely ignores whatever your specific use case is, then here's a comparison:
http://www.techempower.com/benchmarks/#section=data-r9&hw=peak&test=json&f=2hwco-0-0-0
Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 9 years ago.
Improve this question
I am developing a Windows desktop app, it allows users to create accounts and then login. Once logged in it allows them to interact with other users, and even has a chat box in a certain area. This app will eventually be ported over to android and ios(hopefully). Considering that it fetches quite a bit of information over the internet is C++ the most appropriate language to program it in?(i know quite a bit of c++, enough to make this) or should I use HTML5 or something else.
EDIT: For simplicity, essentially what I would like to know is. What is the EASIEST language to program an application in that will accept username/password and allow users to interact with one another. This program will also be accepting payments within it. I would like to use a language that is easily ported over to Android and IOS.
This is a question that doesn't really have a good answer. It's like asking what color you should paint the garden shed. There are many correct answers, and they are all subjective, and most likely based on the answerer's personal experiences.
If you have had experience with C++, then by all means go for it. C++ and it's related languages have the capability to create message windows and interact over the internet, so it is a good possibility for you.
Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 9 years ago.
Improve this question
I consider to use Mantis or Redmine to manage projects. (Issue Tracking)
I know both are really good.
For now, I won't connect it with SVN or Git.
(It may happen later)
The main purpose is issue tracking on business with co-workers.
Please recommend one of them, or you can recommend the other one.
Thanks.
I can recommend redmine. I've been using it for more than 2 years, with 25-50 simultaneous users and more than 50 projects.
I went through a lot of updates without ever having any problems.
The database is properly normalized, so if you ever need to retrieve any data, you will be able to do so.
Numerous plugins exists which may cover special needs if there are any.
Edit: In the meantime, I had to change over to Jira, but I'd go back to redmine anytime if I could.
Never used Redmine, but we've been using Mantis for about 7-8 years for many projects for our distributed team. One of the benefits is its simplicity. We've even wrote a couple of our own extensions, e.g. widely used in our process Kanban board (one of the Agile approaches).
Sometimes I think it looks slightly outdated among other modern tools but it really works for us and we can extend it with our own PHP code.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 9 years ago.
Improve this question
I would like to integrate Python, and specifically Django, to a C++ application. This is for many reasons which include, but not limited to:
Ease of data handling and feature development in python
Django's amazing ORM
Django's instant admin interface
etc...
My specific application is a real-time event intensive application. The Python\Django aspects should mainly come in the initial data loading part, batch data dumps and semi-real time web access for tracking and configuration.
How would you go about integrating these very different programing languages and design concepts?
I would strongly recommend considering to integrate the other way around: your C++ application into Python. A good article on the tradeoffs of extending vs. embedding.
Also, re the Django/web server part, it's not always recommended to have a monolithic application that's too large. Consider breaking the web-serving part into a separate application, purely Django on Python, that will communicate with your main application via either OS files or sockets, or some other IPC. You're still welcome to add Python to your main application (by extending or embedding) for the other needs.