ccoenraets / backbone-directory Goto Github PK
View Code? Open in Web Editor NEWSample Application built with Backbone.js and 3 different UI toolkits: Twitter Bootstrap, jQuery Mobile, and custom iPhone skins
Sample Application built with Backbone.js and 3 different UI toolkits: Twitter Bootstrap, jQuery Mobile, and custom iPhone skins
In the jquerymobile implementation the app is bootstrapped in main.js using
$(document).ready(function () { .. }
However the JQM docs state clearly to not use
Is there any (good) reason why you are using $(document).ready()?
Hi,
When I test API, I receive a SQL Error:
http://coenraets.org/directory/api/employees/1
Do you have a JSON examples for this queries?
https://github.com/ccoenraets/backbone-directory/blob/master/api/index.php
Juan Antonio
i just noticed this in the "web" version...minor bug
api/index.php
need 'group by e.id' at the end of the sql string, while it has 'count(r.id)' in select part.
Thanks for your work. It's very nice to see a minimal but working example.
I have cloned your app in a repo and mucked around a bit with but I was wondering about licensing on it. There is no license in the repo, nor can I find any licensing terms on the related blog.
Hi,
Is possible load correct page when someone type:
this load
Thanks
Hi there,
I've created a new Hybrid application in Visual Studio 2013 and copied the demo project over so that I can see the demo just fine in the emulator. I would like to add another cordova plugin so that I can launch the application from a browser link, the plugin I have used is this one,
http://plugreg.com/plugin/EddyVerbruggen/LaunchMyApp-PhoneGap-Plugin
And I've added the following code to the bottom of app.js,
function handleOpenURL(url) {
setTimeout(function () {
alert("received url: " + url);
}, 0);
}
I've also added the following scripts to the head tag of index.html (just under styles.css),
<script src="cordova.js"></script>
<script src="scripts/platformOverrides.js"></script>
<script src="scripts/index.js"></script>
So the actual problem is this
1: If the app is not running and I launch it from an URL it doesn't initialise correctly and I get a blank screen.
2. If the app is already running in the state as in step 1. and I launch it from an URL it works correctly and I get my alert, plus the page renders
I'm not sure what's causing this but it's the second template engine I've tried that's done this.
If anyone here has VS 2013 and the latest Hybrid App CTP, I also have a sample project. Any ideas how to diagnose / fix this?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.