javascript - Create a Airport Database with API Access -
i'm looking create database can access without api keys using link. essentially, i"m looking copy exact system: http://gd.geobytes.com/autocompletecity?callback=?&q=new except i'd replace results airport codes , names have. have idea how can this?
maybe if clarify further. using typeahead , in custom.js file have following need update use own dataset i"m clueless on how this.
$('.typeahead').typeahead({ hint: true, highlight: true, minlength: 3, limit: 8 }, { source: function(q, cb) {     return $.ajax({         datatype: 'json',         type: 'get',         url: 'http://gd.geobytes.com/autocompletecity?callback=?&q=' + q,         chache: false,         success: function(data) {             var result = [];             $.each(data, function(index, val) {                 result.push({                     value: val                 });             });             cb(result);         }     }); }   });
after comments:
what want know 3 questions assuming gonna work php , mysql since easy , basic way start web development (imho):
you need know:
- tutorial of how create database mysql
 - how connect mysql php
 - how response json php
 - how make ajax request php server javascript
 
to honest man lot learn , if starting web development totally suggest going basic first. trying build @ end restful system, there lot of frameworks , ways this, via web api c#, or http://www.slimframework.com/ example, again question abroad , not clear, im trying because in 1 moment started questions, googled tutorials in web development hope work https://www.odesk.com/blog/2014/03/10-best-web-development-tutorials-beginners/
Comments
Post a Comment