Hour by hour Timeline display of 'events' - mysql php - php

I have been googling for a while but haven't come up with anything great as yet.
What I want to do is take mysql data (below)
and display it in an hourly timeline, something like:
Anyone got any good links or tutorials on how to make this happen?
Not looking for an exact solution(although that helps) but just some direction t get me started.
so mysql db with php and jquery
Thanks,

These timeline / gantt plugins should get you most of the way there, likely just need to setup the JSON data:
dhtmlxScheduler (Timeline View)
Bluelinemedia Timeline
Pure CSS Timeline - Matt Bango (link does not work anymore)
Chronoline JS
Timeline JS
jQuery.Gantt
Most of these found using timeline, gantt, jQuery, js keywords

I have been looking for something that can display a timeline with a higher time resolution as well (at least down to hours and minutes). This Timeline might be able to be handle just that:
Timeline by Jos de Jong and Almende B.V.

Timestack is also interesting (and easily hackable).
Google have also their own timeline chart.

Related

Add windy.js on leaflet map as a layer

i want to add wind data on my leaflet map as a layer
wind data like this https://danwild.github.io/leaflet-velocity/
I've been working on something similar. I found a pretty good looking
and intuitive method being used to represent vector information. Have
a look at the following examples:
http://earth.nullschool.net/
http://hint.fm/wind/
http://air.nullschool.net/
http://googlemapsmania.blogspot.com/2014/07/the-growth-of-slippy-wind-map.html
In my case, I still need to find a suitable format for the wind/ocean
data I want to plot on my Leaflet map. It's certainly not a quick fix,
but man, it looks great!
Maybe this can help you too. I hope to be able to post a working
solution soon.
This plugin takes input data in form of speed in knots (nautical miles
(1.852 km) per hour) and direction in degrees. It then generates the
wind barbs and outputs an icon. This icon can easily be added to a
Leaflet marker.
You can download it here:
https://github.com/JoranBeaufort/Leaflet.windbarb And you can see a
live example here: http://www.geonet.ch/leaflet-windbarb/

Syncing a YouTube Video for viewers in PHP

I'm working on something that my friends and I can use to sync up YouTune videos based on a URL. I'd like to do this myself instead of using another site just because it's a lot more fun!
So I've been looking around and I've found nothing that can help me with the issue I'm having (Syncing the videos), and help?
Thanks in advance
good starting point is start here using javascript you need to store the position of the current playing vedio ajax would be good choice for string the position and return it back from back end storage (db)

PHP/ajax table and Google results

A couple years ago I had a client with a limited budget and a short deadline who wanted a sortable searchable table of their parts inventory online - at the time they had only an excel spreadsheet. I created a database, then I just used Script Artist (because I had it) to do the front end. It all works great and he's been happy with it, except now we'd like to make sure that Google can actually find all 17,000+ parts they have available and not just the first 25.
The page where the inventory is located is just www.thesite.com/inventory.php and the url remains the same no matter what page you're on.
I've been looking around at different options, using pushState vs html snapshots, and I'm not sure what would be the best option or if I can even do anything with the current Script Artist setup or if I should just pitch the whole thing. I'd really rather not have to start over since he still doesn't have much of a budget, so if anyone could give me any input that would be helpful. Thanks.

Can anyone suggest a jQuery shoutbox plugin that writes to an SQL database?

I need a sort of chatbox for a project I'm working on and I don't fancy getting into the nitty-gritty of it myself. Can anyone recommend a good plugin?
My requirements are...
Auto-update with jQuery for anyone viewing the page, not just the user.
Writes to an SQL database, not a text file.
Written in the most recent jQuery.
I looked at one from Code Forest and one from AjaxDaddy but the former did not update for everyone and the latter was written in dated jQuery and wrote to a text file.
Any other suggestions? Thanks very much.
On the first link you tried, everybody get updated but the refresh happens every 15 seconds.
That could easily be changed inside refresh_shoutbox function in this line:
// recurring refresh every 15 seconds
setInterval("refresh_shoutbox()", 15000);
where 15000 is a number of miliseconds.
This one is more up-to-date: http://yensdesign.com/2009/01/create-a-shoutbox-using-php-and-ajax-jquery/
Edit: This one is payed, but also working: http://codecanyon.net/item/shoutcloud-flexible-phpajax-shoutboxchat/full_screen_preview/125018 (no affiliate, no connection or what so ever!)
I've used QShout a few times in the past. It works fine, is somewhat modern (jq 1.4) and is fairly easy to extend.
http://plugins.jquery.com/project/QShout

Pagination with Jquery/Javascript/Ajax and PHP/Mysql

Does anyone know of a link to a site that has a tutorial/code on good way to paginate information coming from a database? (without page refresh) I have spent the better part of the day looking for a site that has what I need. Most are dealing with static/fixed data in the forms of lists etc.
I need one that has something like this for my tables:
Data Data Data Data
Data Data Data Data
Records 1 to 8 of 27 First Previous Next Last
We just implemented a few things using this plugin for JQuery:
Datatables.net
It works on basic html tables and has support for AJAX. Basically you would just write a PHP page that returns a partial result from your database in JSON, etc. The plugin will handle making the AJAX call and displaying the data.
This is only a very partial answer (sorry, not much time atm) but look for the 'LIMIT' command in mysql. It lets you pull back only a certain set of records, say records 11-20. I use that when I do pagination.
Again, this isn't complete, but hopefully it'll help!
I've worked with this one quite a bit. jQgrid... seems to be pretty well maintained.
http://www.trirand.com/blog/

Categories