Finally finished the Bottle tutorial:
http://bottlepy.org/docs/dev/tutorial.html
Involved more reading than I thought, so I want to work on a more hands on tutorial next. This looks good:
http://bottlepy.org/docs/dev/tutorial_app.html
The app you end up building is the ever popular to do list.
Wednesday, February 26, 2014
Learning Ember
Finally got around to finishing this tutorial: http://emberjs.com/guides/getting-started/
Of course, now I need to brush up on my Angular.
Monday, February 17, 2014
Django project to work on?
I'm getting to the point where I am trying to think of a Django project to work on. Any hints? My only requirement is that it should not be a to do list!
Tuesday, February 11, 2014
Differences Between Rails And Django
As I launch into the world of Python/Django, I am going to be comparing and contrasting it to Ruby/Rails. One significant difference is that in Rails you work on just one app. When you work on Django, you create a project that contains multiple apps, and in fact, if you are smart, you can then reuse apps in different projects. Of course, with great power comes great responsibility. You will need to wire up the apps in the project.
Django puts what I consider controllers in an app's views.py file. What I consider views are put in a template folder. Both frameworks have template engines. Rails uses embedded Ruby. Django has a template engine that looks like embedded Python.
From what I can see, Django does not have any scaffolding. Strangely enough, I do not miss it. I guess the frameworks reflect the philosophy of each language. Ruby has multiple ways to do tasks and has many shortcuts. In Python, you can only do a task one way, and that language seems to value clarity over shortcuts. I have heard that packages might exist that allows scaffolding, but I would have to do some research.
I am sure I will be able to find more differences and similarities as I travel further down this path.
Django puts what I consider controllers in an app's views.py file. What I consider views are put in a template folder. Both frameworks have template engines. Rails uses embedded Ruby. Django has a template engine that looks like embedded Python.
From what I can see, Django does not have any scaffolding. Strangely enough, I do not miss it. I guess the frameworks reflect the philosophy of each language. Ruby has multiple ways to do tasks and has many shortcuts. In Python, you can only do a task one way, and that language seems to value clarity over shortcuts. I have heard that packages might exist that allows scaffolding, but I would have to do some research.
I am sure I will be able to find more differences and similarities as I travel further down this path.
Friday, February 7, 2014
Sunday, February 2, 2014
CoffeKlatsch is finished!
Finished my first ember.js project. Feel free to checkout my Github repo:
Here is a screen grab of the SPA to show off the styling:
The styling was done using Twitter Bootstrap. I might consider hosting this on AWS, but right now, I feel like relaxing.
CoffeeKlatsch has CRUD!
I implemented CRUD in CoffeeKlatsch! Check out the code at:
https://github.com/cspears2002/coffeeklatsch
Now for some styling!
https://github.com/cspears2002/coffeeklatsch
Now for some styling!
Saturday, February 1, 2014
CoffeeKlatsch
Wow. Ember.js has a REALLY steep learning curve. Here is what I have accomplished so far:
https://github.com/cspears2002/coffeeklatsch
One problem I have been having has been getting my Ember.js apps to work on JSFiddle, which has been a tremendous pain. Finally got this up and running:
http://jsfiddle.net/cspears2002/y8MT3/
Right now users can display and add coffee prices. I am still on working on adding the ability to edit and delete.
https://github.com/cspears2002/coffeeklatsch
One problem I have been having has been getting my Ember.js apps to work on JSFiddle, which has been a tremendous pain. Finally got this up and running:
http://jsfiddle.net/cspears2002/y8MT3/
Right now users can display and add coffee prices. I am still on working on adding the ability to edit and delete.
Subscribe to:
Posts (Atom)