21đź‘Ť
It’s easier to ask forgiveness than permission.
First, build the initial release in Django. Quickly. Build the model well (really well!). But use as much default admin functionality as you can.
Spend time only only reporting and display pages where the HTML might actually matter to the presentation.
Show this and they’ll only want more. Once they’ve gotten addicted to fast turnaround and correct out-of-the box operation, you can discuss technology with them. By then it won’t matter any more.
16đź‘Ť
You need to speak the language of business: money.
“If we do it Rails, it will cost you 50% less than the same functionality in Java.”
Your percentage may vary, and you might need to also include hosting and upkeep costs, to show how it balances out.
When you’re convincing other programmers, sure, talk about development speed and automation of repetitive tasks. But talk bottom-line cost to a business person.
- Invalid HTTP_HOST header: The domain name provided is not valid — requests to dockerized django app using container name
- Why isn't psycopg2 executing any of my SQL functions? (IndexError: tuple index out of range)
5đź‘Ť
Before you begin making the case for Django or Rails, you have to be convinced it’s the right stack first in the context of the business person’s needs. If the business person is an entrepreneur, he may have other factors that go beyond how quickly can the solution be developed. For example:
- If its an enterprise play that’s being developed (something like SalesForce.com, SugarCRM, etc.) it may make sense to have it written in Java because this makes acquisitions and mergers easier with potential Java-based suitors.
- If its an internal IT play for a custom solution in a large company, they may already have a significant amount MS infrastructure in place. It may not make sense to have your client install SQLServer or complicate their stack further with a Rails/Django friendly stack.
If you’ve cross this chasm and are convinced you have the client’s best interest in mind, then I would look for examples on the Internet where the same application has been authored in both Java and Rails/Django. Here’s an example of the Pet Store implemented in Rails.
http://www.anassina.com/projects/railspetstore/
You can download the source code and demonstrate to your client how much less code is needed to achieve the same result.
Explain to the client why less code is valuable: the less code you write, the fewer bugs you will have.
- How do I check the content of a Django cache with Python memcached?
- Displaying Django subcategories in category and products in each category json as Json Child
- Does Android support layout inheritance (similar to Django templates)?
- Proper declaration of an empty Django PostgreSQL JSONField default value in migration file
- Django 1.9 JSONField order_by
2đź‘Ť
The first 2 arguments from the top of my mind:
-
Easier and faster development = cheaper product, less time to market.
-
SO optimization out of the box.
- Django-templates: Why doesn't {% if "string"|length > 10 %} work at all?
- Django fixtures not accepting YAML?
2đź‘Ť
While many of you made some good suggestions, WRT the talks/resources for using these frameworks, you may also note to have a look at talk on redesigning yellow pages in ROR:
Summary from the site:
This talk explains how
YELLOWPAGES.COM, one of the
highest-traffic websites in the U.S.,
was written using Ruby on Rails, how
it was scaled to handle the traffic
and how the software architecture
evolved. Also: the reasons for
choosing Ruby on Rails.
- Django.core.exceptions.ImproperlyConfigured
- Regex django url
- Retrieving the 'many' end of a Generic Foreign Key relationship in Django
- Django custom for complex Func (sql function)
- How to run Django with Uvicorn webserver?
1đź‘Ť
The best case to be made for either of these frameworks is their ability to automate repetitive and time-consuming tasks. This allows developers to be faster and more productive which in turn means projects are delivered faster.
- Django- getting a list of foreign key objects
- Django models across multiple projects/microservices. How to?
1đź‘Ť
The problem with a “brochure” approach is that it doesn’t address the clients needs. Putting the language/platform of choice into a presentation that addresses the clients goals is much more likely to sell them – both on the tools you want to use, as well as you as a provider. As long as you can show that your approach will solve the problem (preferably with the least amount of expense), you’ll have fewer objections and less of the “but I’ve heard that xxx is the best”.
- Django 1.3 logging: 500 errors are not logged
- Different sessions for admin and applications in Django
- Uwsgi http is ambiguous