TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Hands-on Angular.js with Backlift part 1: Views and Controllers

65 pointsby colevscodeabout 12 years ago

2 comments

bjourneabout 12 years ago
This is a really nice way to plug your product. :) Writing web applications where the server is just a RESTful api that handles authorization makes a lot of sense. Clean separation between models and views, easy to deploy almost anywhere and easy to scale and cache. I've been using flask-restless to accomplish something similar, but there is still some glue code you need and sql to define database models.<p>Though it seems your collection api does not support arbitrary queries yet? E.g. you can't fetch the last 10 blog posts or the highest rated comments by user X? That are imho must have features for anything more than the most basic web application.<p>Uniqueness validation seem to be missing too. E.g. currently no way to say to a user that "a user with that username already exists"?
评论 #5439666 未加载
kailuowangabout 12 years ago
I saw this quote on stack overflow that best summarize my experience with Angular: in angular the easy stuff is really easy and the advanced stuff seem disproportionally hard.
评论 #5439742 未加载
评论 #5441787 未加载