18 ms·
Nice. Anyone building fun stuff using Django these days?
by amerine 8y ago
Nice. Anyone building fun stuff using Django these days?
- theli0nheart 8y agoMe! Have been for over 10 years. Still chugging away. :)
- wepower_ico 8y agoDefinitely. Most of my projects starts with Django. Quick to build quick to test the idea. And because they never grow to 10k concurrent users no need for more scalable solution.
- Alex3917 8y agoDjango is still by far the best web framework as far as I can tell. Every couple years I check what's out there for GoLang, Rust, Nodejs, and Swift, and it seems like it will be a decade or more before anything else comes even close. Even though a lot of people don't like Django's ORM, at least it does almost everything you would want to do with Postgres. (And if you want more you can always use SqlAlchemy.) Most of the other ecosystems don't even have anything near the baseline functionality built into Django.
- auvi 8y agoI think you are missing the elephant in the room: Ruby on Rails.
- Alex3917 8y agoWith Python you get: - The best-governed language in all of software, and the best-governed web framework - A huge ecosystem of libraries for everything from data science to email processing, that are (mostly) easy to read and modify and free from systemic security issues. And pretty much every major company with an API has an official Python library for that API. - The standard language taught at most of the top CS programs around the world - A web framework that's had almost no major security issues over the 10+ years its been around What exactly would you get in terms of benefits from switching to Ruby? I'm not saying Ruby or Rails are bad tools, I just don't get why someone who already knew Python and Django would switch. I get that if you run a dev shop it might be a better choice for just cranking out web apps as fast as possible for clients, but if you run an actual startup I don't see that the benefits of saving a couple lines of code would offset the costs of being locked into the ruby ecosystem.
- mtberatwork 8y agoDjango's documentation is also simply top notch.
- howiroll 8y agoI disagree. There are too much undocumented potholes.
- paulddraper 8y ago> What exactly would you get in terms of benefits from switching to Ruby? You'd get Ruby on Rails.
- deleted 8y ago[deleted]
- driverdan 8y agoI've spent years using Rails and about a year with Django. In general find Rails to be more logical and less cumbersome. Django feels more cobbled together than Rails, with less cohesiveness. Sorry that these are fairly abstract statements without examples. I need to start tracking them.
- ablerman 8y agoI find this comment interesting because my experience is the exact opposite. (I won't bore you or tempt the trolls with details) I don't mean to downplay your experience at all. My working theory is that you just think the way the rails devs do and I think the way the Django devs do.
- driverdan 8y agoCould be. Could be that I have more experience with Rails and used it first. Maybe if I used Django first it'd be the other way around. For the record I didn't want to do Rails work when I started, and begrudgingly accepted being called a Rails developer only after two years of experience.
- robdachshund 8y agoPython is much easier to learn and most devs already know it. It fosters quick and simple code that is super easy to maintain, and python/django is a huge and accessible ecosystem. I don't need to learn a new language I won't use for anything else, I don't need to learn a framework that is not as simple as its proponents describe. I also don't need to learn a new package manager or go digging for gems that do what I need. If you aren't already invested in ruby, there is very little to gain as a web app developer. It would be a huge waste of time to drop django or flask and learn not only a new framework but also a language that is often described as cumbersome to use. Ruby on rails might make sense if you already know it, but it makes little sense for anyone else to learn it these days.
- sparkling 8y agoI have used both Ruby on Rails and Django in large production web applications over 2+ years. Speaking strictly about the web framework, RoR is the slightly better framework IMHO. This includes but is not limited to: - cleaner internal APIs, models, methods - a lot more stuff that "just works" out of the box where you would need a third-party package in Django (e.g. RoR gives you different settings for development/staging/production out of the box) - better static file handling - third-party packages tend to be a bit more mature and stable in the RoR world However, using Django gives you easy access to the rest of the Python ecosystem, including all the data science and ML tooling. And that trade is worth it. So if you are starting from scratch today, i'd go with Django.
- Godel_unicode 8y ago> better static file handling Don't you just let nginx/CDN handle these?
- Nextgrid 8y agoI think he’s referring to the app being aware of static files so it can resolve their URLs, etc (without having to hardcode paths). You develop by just assuming all your static files would be served by Django itself (and they will - using the dev server) and then change the project’s configuration to use a CDN or S3 (using a library - which will automatically collect & upload your files too) with no change to the underlying code.
- true_religion 8y agoAsset Pipelining is a dingo plug-in, but a built in for Rails.
- ethagnawl 8y agoI think they meant the Sprockets/Asset Pipeline or whatever the new Webpack-based solution is.
- agiamas 8y agoBeing in a similar position, I wanted to post but your post is spot on. ML and DS have basically lifted Python and by association Django quite a lot...
- h1d 8y ago> a decade or more before anything else comes even close. Stopped reading at the fanboism.
- iwebdevfromhome 8y agoSymfony is a great php framework too
- nicoburns 8y agoIMO PHP's Laravel is competitive with Django. I think Django, Laravel, and Rails are really the only 3 frameworks with the levels of ecosystem and built in functionality that these 3 have (unless there's something in Java-land that I'm not aware of). ASP.NET Core is close, but the ecosystem around it is weaker.
- conradfr 8y agoPhp-wise Symfony is easily on par with Laravel and a really well managed project.
- mtberatwork 8y agoWhy would it be on par? Laravel is built with Symfony. [1] [1] https://symfony.com/projects/laravel https://symfony.com/projects/laravel
- blowski 8y agoSymfony is more like Java Spring, whereas Laravel feels like a port of Django and Rails. Compared to Laravel, it’s easier to use Symfony to build large applications, but it can feel like overkill for smaller CRUD-only applications. It has a steeper learning curve, so Symfony’s developer pool is more skewed to the senior end.
- Longhanks 8y agoFor Java there's Spring, which is like an entire universe in itself.
- BuckRogers 8y agoI reviewed these sort of web frameworks some time ago and went with ASP.NET Core because of the language attached being more to my liking and industrial-strength than Python, PHP or Ruby. I go in assuming every project will be 500KLOC someday, because it can happen. I've seen codebases this large in Python, and it was no bueno. Static typing, forward migration / backwards compatibility take top priority for me. Laravel was my 2nd choice, the recent adoption of a JIT into the core really adds some desirability to the space. Not to mention HHVM and how much Wordpress is out there.
- vonseel 8y agoDjango is my number one, but I think certain languages and the communities behind them - including Go and Rust, for sure, fit much different use-cases than Python/Django and thus there's good reason why you don't find massively popular full-featured web frameworks [for those langs]. Node.JS, on one-hand seems to take the approach of Go-lang - standard libraries that do basic web-handling well, but on the other hand, I think it is tarnished by Javascript's reputation for having too many third-party packages, too many options, new framework every week, etc. C# / .NET core seems to be a strong up-and-comer alternative for teams looking for a full-featured and well-supported application framework with more type safety and performance than Python/Django or RoR. Elixir / Phoenix, as well, but that caters to an entirely different crowd. I expect most Go users are not using much in the way of frameworks.
- airstrike 8y agoInstagram, to name one. https://instagram-engineering.com/web-service-efficiency-at-instagram-with-python-4976d078e366 https://instagram-engineering.com/web-service-efficiency-at-...
- yash1th 8y agoThe article was almost 3 years old now. I wonder what they've changed since then
- jacobkg 8y agoThe WorkFlowy (https://www.workflowy.com https://www.workflowy.com) backend runs on Django. We are on Django 2.1 and planning to upgrade to 2.2 now that it has been released. One new feature I’m excited about is bulk_update: https://docs.djangoproject.com/en/2.2/ref/models/querysets/#django.db.models.query.QuerySet.bulk_update https://docs.djangoproject.com/en/2.2/ref/models/querysets/#...
- scriptkiddy 8y agoI'm excited about that feature as well. It was possible to do bulk updates before, but it was cumbersome. With this new method, it will be super simple.
- champagnepapi 8y agoyeah! We use it at https://www.hungryroot.com/ https://www.hungryroot.com/ We use Django 2.0
- reustle 8y agoI recently got back into it after many years on flask. Free admin, user accounts, and rest API (django-rest-framework) makes building things so quick and enjoyable.
- mariocesar 8y agoAlmost anything, for me is like the only one-to-go that hits all the most important things for a project.
- frankwiles 8y agoWe work with a bunch of interesting clients all using Django. Most recently we helped upgrade Politifact.com (https://www.politifact.com/ https://www.politifact.com/) to a recent Django version, cleaned up a bunch of legacy cruft, and added decent test coverage. We also drastically reduced their infrastructure costs by better utilizing CDNs and caching.
- epberry 8y agoOur whole web stack and api, 5 separate domains.
- bredren 8y agoI’m building my first product that has actually made money and shows signs of real potential in Django. I’m about 3 years into it. It is growing just among beta customers. Hope to do a release in next month or so. Will post a Show HN. I also have a client I develop for on a private web app in Django that does a lot of cool stuff w on the fly cloud compute instantiation. I really like Django and have been hanging out in the #django on freenode.
- paddy_m 8y agoI have been leaning on Django a lot in the past couple of years. A couple of highpoints Everyone talks about the admin. Yes it is nice, but the real core for me is a sensible way to map URLS to queries. I have taken the filtering and sorting of the admin, and extended it to output dataframes. From there I can take the same admin url, change one part and instead get a csv to download, or a matplotlib plot. The Django ORM is cumbersome to use for complex queries, especially aggregations. I get around this by writing views that I want to express the aggregations that I want, then putting a model on top of the view. From there I can get easy access to the aggregations through a simple foreign key. When using Django, I often think "there's a lot of convention around doing this simple thing" or "why did they engineer something this odd way". Then I use Flask and I have to poorly reinvent something that Django has already thought of.
- diminoten 8y agoIf you want fun and aren't afraid of some AWS, I highly recommend Zappa: https://github.com/Miserlou/zappa https://github.com/Miserlou/zappa It's an amazing little piece of software, I am gobsmacked by how complete it is.
- godzillabrennus 8y agoI’m building a tool that will require recruiters pay technical people to speak with them about a job. http://www.joinjune.com http://www.joinjune.com
- wenbin 8y agoI use Django to build https://www.listennotes.com/ https://www.listennotes.com/ and https://www.listennotes.com/api/ https://www.listennotes.com/api/
- is0tope 8y agoI've built a bunch of stuff using Django, but my most recent project allows people who play the game ClashRoyale to see if they have played against a streamer on Twitch. If they have, they can view the video directly at the moment their game is shown. http://playedwith.io http://playedwith.io (click "latest games" to see how it works) Im a big fan of django, and have used it for several projects. Using rest-framework allows you also to make powerful apis, and SPA front ends like Vue or React. It's ORM is also a very user friendly (though aggregations are definitely a pain). I consistently come back due to the great docs, and the ease of use. Being python based means you can integrate a lot of libraries, especially if you are doing any kind of data science related stuff. Websockets and real time stuff can be cumbersome from my experience, and for that I would stick to node. It's possible to use django-channels but I had a very mixed experience trying this.
- abledon 8y agocool, do you grab a screenshot off the twitch stream then use character recognition on the UserName/Id to identify them? I see the esports gaming area exploding over the next 10 years as most people are gaming now instead of other activities.
- is0tope 8y agoThat was the original plan but it was waaaay to unreliable. The current system is pretty simple as you can synchronize the timestamps of streamers games (I know their Id's!) and their twitch streams. I use django-background-tasks to run an ETL job every 20 mins that does the matching.
- akx 8y agoThe web bits of our ML platform at https://valohai.com/ https://valohai.com/ are Django through and through.
- mattrp 8y agoWe built rationalpilot.com using Django, postgres and pandas. I love staying python native and really like Postgres support for the json model field in Django.
- deleted 8y ago[deleted]
- acidburnNSA 8y agoI'm building an open nuclear reactor lessons learned database where old retirees and current researchers can collect the design/operation/decommissioning lessons learned through the years and share references and knowledge.
- spapas82 8y agoMe for like 7-8 years. Just building boring intranet apps (some are CRUD, some have a little workflow but nothing too complex) for a public sector organization with only a light touch of JS (some Jquery if needed) and everything else Django request + response. It may seem boring but it is the most productive setup I've ever experienced; I don't think that there's anything more powerful for such things (except maybe some IDEs like PowerBuilder however I think that these are way too niche on their capabilities; they may be fast and easy to create the thing that they know how to create but god help you if you need to create something more complicated; Django on the other hand is a general purpose framework; whatever you throw at it it will happily eat)