
Pro Python by Marty Alchin Expert Python Programming by Tarek Ziadé
If you're looking to get into web development then, I'd suggest picking up:
Practical Django Projects Pro Django and Django 1.1 Testing and Debugging
Hope that helps!
I’m a business informatics student and working part time for a company as a web developer.
I started to read books about Programming as I started my university. But I noticed that I need books for remembering things that I read. I’m now buying a book every month and can freely write notes and stick the little colorful things on them to highlight a page.
I made a list of books but I noticed that there are few books about frameworks in my list. Like Spring In Action or Pro Django.
My question is, does it make sense buying books about frameworks or getting more high level books like The Clean Code, Design Patterns or maybe both?
I started talking to people. I started using twitter and IRC and telling people I have no idea about what to do but I want to do a lot. Who would care really, right?
Wrong. Open source is not just code put there on Github for everyone to see.
Open source is a philosophy & community. In particular for me, the Python community stepped up big time.
Bad college? Come to India, we have factories which churn out hundreds and thousands of 'engineers' every year.
Its been 6 months since the post. I'm no awesome programmer, but I can find my way around. I can read 2 Scoops of Django and Pro Django and I'm starting to understand what they're saying. I can code in Python fluently. Good/bad, all subjective. I can build things and I'm happy.
Its not a one time thing. I'm on IRC a few times a week on the Django, scikit-learn and now AngularJS community. I've spoken to crazy programmers and padawans just like you and me.
Get out there, not here. Spend time building.
PS - I'm self taught in machine learning which I was recently making a living off of. On sabbatical now and programming web and mobile when I'm not studying my ML stuff. Re-read, self taught. Its possible! :)
PS 2 - I don't like Java either. But the people I'm collaborating with for ML projects, despite my Python ML experience, want Java. So what do I do? I'm learning AngularJS right now, how do I pick up Java 7/8 after last touching Java 5 in '10 as a student in above mentioned factory? I pick up a book, an open source project and the docs. I learn. Build. And break. It happens.
PS 3 - I'm working on Django REST and AngularJS integration. Thought it would be straightforward, maybe it is, wasn't for me. Let's not fret. Get on IRC, a book, Github open source and play!
-- Cheers from someone who gets ya. I emphasise, I would be nowhere without the people of the community who have taken out time to show me the way.
I'm on twitter, same handle and my email is in my profile. I'm no genius, just a 25yo who knows I haven't seen anything in life yet and am no longer scared of boxes/walls (not that they're easy to overcome, I just don't fret anymore).
It's been reported before and they consciously chose the current behavior. I don't agree with their decision, but it is something they're aware of.
EDIT: There is a way to subclass models.Model and not have it be an abstract or real model (I don't remember at the moment) and you could, in that subclass, do a force_insert or force_update based on the PK status so that everything in your project inheriting from that subclass would have that behavior.
basically:
def save(self, *args, **kwargs):
if self.pk:
kwargs['force_update'] = True
kwargs['force_insert'] = False
else:
kwargs['force_insert'] = True
kwargs['force_update'] = False
super(MyModelBase, self).save(*args, **kwargs)
So, one can modify that behavior if they want to without having to patch too much - maybe someone can comment on subclassing models.Model while not having Django consider it a model (I think I got it from the Pro Django book if someone has it available).EDIT2: modified the code to make sure that force_insert and force_update couldn't both be True.
The book is coming in a month. One big reason why there aren't a lot of Django books out there is because instead of trying to make money off of books, they focused on writing high quality documentation to begin with. That book that's coming out is free online as well: http://www.djangobook.com/
The reason there are lots of Rails books is because there's a lot of hype around it. That doesn't necessarily mean the community is more supportive.