The first iteration PHP version of the eBook Library has been a life saver when it comes to displaying what I own in a very simple way and getting stuff onto the Kindle eReader. The limitation of the library app, server side sorting and very crude design have actually been an advantage when using it on the Kindle. Read about it in the other post here.
Kindle Experimental Browser
Here's a good article stating what is available on the Kindle browser:
Back to PHP and vanilla HTML?
What framework could I use to get some kind of a UI without rewriting everything it in pure CSS/JS?
– jQuery Mobile!
jQuery Mobile is a bit of an old-school approach that works on old browsers. It provides us with a set of basic controls that can be used to build quite nice looking UIs without having to write them from scratch. It also gives us buttons, navbars, a few jQuery animations, a standard loader and single page routing capabilities with which you can create single page apps. It's not the fastest in the world, but it makes up for it with fancy flashes when changing pages. It utilises the HTML viewport using the full width of the app and is mainly built for smaller screens. You can see a prototype example I built for the newest iteration (v4) of the eBook Library.
There are two reasons I wanted to rewrite it in the first place:
- Letting go of having a separate PHP server running on a separate VM. Instead running it as a Node.JS app.
- Book Data was not always showing the right stuff. And most of the time, some Polish books didn't have cover thumbnails, which is quite annoying since a lot of them are falling into this category.
Work in progress improvements to the current setup:
- Handing file uploads to remove the FTP client out of the equation.
- Storing the data in a local SQLite database to remove the constant calling of the Google Books API. Sometimes the list I got is missing some books ISBN numbers that were put in the request. Not sure why this is the case, but it varies with every refresh.