Coder Social home page Coder Social logo

vinkaga / node-backbone Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ccoenraets/backbone-directory

75.0 75.0 24.0 1.47 MB

Sample Application built with Backbone.js and 3 different UI toolkits: Twitter Bootstrap, jQuery Mobile, and custom iPhone skins

License: MIT License

JavaScript 100.00%

node-backbone's People

Contributors

ccoenraets avatar vinkaga avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

node-backbone's Issues

Simple question in RegEX

i has recreated your app all in coffeeScript but (i'm newbie) and have another problem...
in this line
route: //iphone/js/cache/[a-z0-9]+/.*.js/

i nedd call to files .js and .coffee, U can help-me?

About node-backbone example in app/localdb/js/app.js

apologize my english and my newbie questions
Hey man i like understand why i need use SQL statement for localdb. Cause i make use of mongodb and need it? Why?

And if it needed i look
i have 2 questions in this file because i don't look for Manager in my model and no need Reports

var sql = "SELECT e.id, e.firstName, e.lastName, e.title, e.city, e.officePhone, e.cellPhone, e.email, e.managerId, m.firstName managerFirstName, m.lastName managerLastName, count(r.id) reportCount " +
"FROM employee e " +
"LEFT JOIN employee r ON r.managerId = e.id " +
"LEFT JOIN employee m ON e.managerId = m.id " +
"WHERE e.id=:id";
Howto rewrite this

And in this source, when U uses initialize

directory.models.Employee = Backbone.Model.extend({

dao: directory.dao.EmployeeDAO,

initialize: function() {
    this.reports = new directory.models.EmployeeCollection();
    this.reports.managerId = this.id;
}

});

If i not need reports i need this initialize?

there is a permissions error in the test app

in http://nodebackbone-vinkaga.dotcloud.com/ js console

Loading template: home utils.js:15
Loading template: contact utils.js:15
Loading template: header utils.js:15
Loading template: employee-full utils.js:15
Loading template: employee-details utils.js:15
Loading template: employee-list-item utils.js:15
Initializing Contact View contact.js:4
Initializing Home View home.js:4
Given URL is not allowed by the Application configuration.: One or more of the given URLs is not allowed by the App's settings. It must match the Website URL or Canvas URL, or the domain must be a subdomain of one of the App's domains. oauth:1
search header.js:22
findByName: employeemodel.js:21
Uncaught TypeError: Cannot read property 'length' of null employeemodel.js:27
search a header.js:22
findByName: a employeemodel.js:21
Uncaught TypeError: Cannot read property 'length' of null employeemodel.js:27

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.