Live data from Hacker News

Django 1.6 beta 1 released

djangoproject.com

41–50 of 72 posts

Re: Django 1.6 beta 1 released

#41

> 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.

Well, if you're talking about alternatives that do asynchronism, Comet and Web Sockets well, the most convenient framework I ever used is Play 2.1

The framework is said to be reactive, meaning that you can build components that react to events asynchronously. The architecture is completely awesome, as Akka actors are baked in and the protocols are modelled with Futures and Iteratees, an FP concept for sane I/O. Things like serving unending streams of data and responding to client events using async I/O are in the very foundations of the framework, instead of being taked on later. People using Node.js or Tornado or whatever, don't know what they are missing.

See their docs on the subject:

- for Scala: http://www.playframework.com/documentation/2.1.1/ScalaAsync

- for Java: http://www.playframework.com/documentation/2.1.1/JavaAsync

Re: Django 1.6 beta 1 released

#42

Christ, Django is changing too fast. I recently upgraded from 1.2 to 1.3 and it's still way obsolete.

1.3 -> 1.4 was trivial AFAIR. 1.4 -> 1.5 may need some more work if you depended a lot on function-based generic views.

Re: Django 1.6 beta 1 released

#43
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)?

It's on youtube. http://www.youtube.com/watch?v=mCNh2TVQ2o0

Re: Django 1.6 beta 1 released

#45
post #14

I'm currently working with Django for a client's project I'm developing. Coming off a LAMP stack binge, the technology itself has been an absolute delight. I've been given the directive to use South to manage the data model, but for future projects I was hoping somebody with more experience can give some insights as to what you've found works and what doesn't work. I'm not the biggest fan of South, but maybe it's jus…

I saw the template support and was over the moon, so I made this:

http://www.stavros.io/posts/django-template-projects/

It should help people just getting started with Django to have a smoother transition. I will add various templates with "best practices", like South included by default, stuff like that, to help both me and complete newcomers to easily get started with a new project.

Re: Django 1.6 beta 1 released

#46
post #37

Persistent database connections :). Glad to see the objections finally fall by the wayside. Still no update for the homely admin app? Would love to have it use bootstrap (or similar) to offload look and feel to those focused on it. One extra thing to do in every Django app is to change the ugly yellow on cyan title bar. I know it is already possible with apps, but then it means one more thing to fix on upgrade.

FWIW, admin2 is under active development and moving forward. I don't know if the intention is to replace the existing admin, but as it's not backwards compatible there will be some effort to upgrade if you've completed any serious customization. https://github.com/twoscoops/django-admin2

Given its dependencies I find it highly unlikely it will find its way into the Django core anytime soon.

Re: Django 1.6 beta 1 released

#47
I saw this earlier and am absolutely ecstatic over the new template functionality. I can't tell you how many times I've cloned old projects to start new ones, a process which isn't very fun (due to the amount of stuff one needs to change).

I started this right away: http://www.stavros.io/posts/django-template-projects/

I'll post various templates there, for example a default one containing all the "best practices" that I use (and structured that way), one that includes Persona by default (so you can just click the "Log in with Persona button" and log in), etc.

I love this feature.

Re: Django 1.6 beta 1 released

#49

Christ, Django is changing too fast. I recently upgraded from 1.2 to 1.3 and it's still way obsolete.

Django 1.3 was released back in March of 2011. That's more than two years ago! Were you waiting on some sort of third party package or something?

I recently updated an older project from 1.2 to 1.5 and it was quite a bit of work.

Re: Django 1.6 beta 1 released

#50

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.

Well, if you're talking about alternatives that do asynchronism, Comet and Web Sockets well, the most convenient framework I ever used is Play 2.1 The framework is said to be reactive , meaning that you can build components that react to events asynchronously. The architecture is completely awesome, as Akka actors are baked in and the protocols are modelled with Futures and Iteratees, an FP concept for sane I/O. Thin…

I've heard it's revolutionary! How do you host Play in production?
Post reply on HN