Live data from Hacker News

Django 1.6 beta 1 released

djangoproject.com

61–70 of 72 posts

Re: Django 1.6 beta 1 released

#61
post #38
post #21

Earlier quoted context omitted.

He (Andrew Godwin) also recently gave a talk on the subject, ( http://lanyrd.com/2013/djangocon-europe/schgcz/ ).

any idea when his talk will be published (youtube/pyvideo)?

The video was already embedded in the Lanyrd page linked to above.

Re: Django 1.6 beta 1 released

#62

Earlier quoted context omitted.

We are using Amazon's EC2 for a huge-traffic web service (because ELB with auto-scalling has been working great for us) and Heroku for auxiliary services. Deployment to Heroku works out of the box btw.

I mean, which web server? What is the built-in start/stage server built on? Can you place it behind Nginx?

The built-in server is Netty, a non-blocking one, and you can deploy your Play webapp as a stand-alone server, or use Nginx, Apache etc. http://www.playframework.com/documentation/2.1.1/HTTPServer

Re: Django 1.6 beta 1 released

#63
post #58

Earlier quoted context omitted.

I'm not seeking controversy--I really enjoy Django development. It's just that I don't often hear about startups choosing to build in Django (well, besides mine), instead, going with Rails, which seems to have a more active and forward-looking developer community and more aggressive, or flashy new-school stuff like Node/Scala/Go/whatever. I guess what I'm trying to ask is, what is holding Django back? Is it just fash…

> I guess what I'm trying to ask is, what is holding Django back? Why do you think it's being held back? I'm just not seeing the barriers in using newer tech. We stay pretty cutting edge, and haven't had any issues doing so with Django.

Because you don't hear about it growing in popularity or being used in the hot new stuff on HN.

Re: Django 1.6 beta 1 released

#64

Earlier quoted context omitted.

I think this is an area where ASP.NET MVC excels because, while REST is nice, you also have to consider web sockets, and I have not seen good web socket support in Django, where ASP.NET has SignalR which is loads easier to configure than a custom solution with Django and Nginx/Apache. Not to mention that SignalR has very nice degradation support on both ends when web sockets are not available.

The root of this problem is that WSGI doesn't play nicely with asynchronous stuff. Socket.io for node.js is very awesome for stuff like that.

Have you any experience with uWSGI? Socket.io is good, but it falls back to polling AJAX.

Re: Django 1.6 beta 1 released

#65
post #58

Earlier quoted context omitted.

> I guess what I'm trying to ask is, what is holding Django back? Why do you think it's being held back? I'm just not seeing the barriers in using newer tech. We stay pretty cutting edge, and haven't had any issues doing so with Django.

Because you don't hear about it growing in popularity or being used in the hot new stuff on HN.

MTV Video use it. Yahoo use it. Django is massive, but it's like toilet paper or condoms. If you use it, you probably aren't going to blog about it because it's just doing it's job.

Plus, it's not hot new stuff, they largely attempt to make upgrading easy.

Django to me is what .Net is to C#. It's the libraries around the Python language that make it useful.

Re: Django 1.6 beta 1 released

#66
post #59
post #18

Earlier quoted context omitted.

I support that too, but I think Django should provide some default API endpoint support (like Django Rest Framework).

I'd be pretty miffed if they did this. You need only look at the comments contrib to see an example of something that was OK'ish when it was incorporated, but has languished since then. Now I question the need to even have it in contrib. We don't have to bake components in for them to be excellent. rest-framework in particular moves ridiculously fast, and being separate from Django lets them do that. Also, if in the…

The 'comments' app has now been deprecated and will be finally removed from contrib in 1.8

Re: Django 1.6 beta 1 released

#67

> Does Django have a bright future in a world that's moving heavily client side Where are you getting the data for the client from? Django-Rest-Framework is a very convenient way to get data down into the browser layer from a DB.

I think this is an area where ASP.NET MVC excels because, while REST is nice, you also have to consider web sockets, and I have not seen good web socket support in Django, where ASP.NET has SignalR which is loads easier to configure than a custom solution with Django and Nginx/Apache. Not to mention that SignalR has very nice degradation support on both ends when web sockets are not available.

For websockets, I set the Django framework inside a Tornado thread.

By doing that I lose the wsgi functionality (you get only low level stuff, just like you'll get on java or .net), must synchronize with the normal http server with the DB (what I'll do anyway, since it's the easiest path with Django), and there is some dificulty dealing with signals (the same you'll get with java or .net). And that's all.

Or, TLDR, you lose a few features, that'll make your code resemble a bit more what you'd need to write in java or .net, but preserves most of it.

Re: Django 1.6 beta 1 released

#68
post #58

Earlier quoted context omitted.

> I guess what I'm trying to ask is, what is holding Django back? Why do you think it's being held back? I'm just not seeing the barriers in using newer tech. We stay pretty cutting edge, and haven't had any issues doing so with Django.

Because you don't hear about it growing in popularity or being used in the hot new stuff on HN.

I don't think Django is being held back at all. It's healthier than it has ever been.

Consider that the reason you don't hear about it isn't due to it not being used but instead to a cultural difference in the people who choose it. I don't think Django developers are particularly good at blogging and self-promotion compared to other projects. They communicate through mailing lists, IRC, twitter, email and documentation. I'm ok with that.

When I started my project, I evaluated a lot of different options and chose Django. One of the big factors was a cultural commitment to documentation and slow measured changes with lots of thought put into backward compatibility. Blog posts about hot startups that are using it is low on my list. (and if you do your research you will see that a surprising number of hot new startups are in fact using it)

Re: Django 1.6 beta 1 released

#69

I'm so excited about this .. my team just started using django on our current project after our flask experiments fall on their face

For fuck's sakes, go away you insipid faggot.

Edit: please don't downvote me, he's a worthless troll and needs to be put in his place; look at his past comments.

Re: Django 1.6 beta 1 released

#70

Earlier quoted context omitted.

I think this is an area where ASP.NET MVC excels because, while REST is nice, you also have to consider web sockets, and I have not seen good web socket support in Django, where ASP.NET has SignalR which is loads easier to configure than a custom solution with Django and Nginx/Apache. Not to mention that SignalR has very nice degradation support on both ends when web sockets are not available.

For websockets, I set the Django framework inside a Tornado thread. By doing that I lose the wsgi functionality (you get only low level stuff, just like you'll get on java or .net), must synchronize with the normal http server with the DB (what I'll do anyway, since it's the easiest path with Django), and there is some dificulty dealing with signals (the same you'll get with java or .net). And that's all. Or, TLDR, y…

Interesting. If you have any further guidance on that I'd love to bookmark it.
Post reply on HN