Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Readers > Amazon Kindle > Kindle Developer's Corner

Notices

Reply
 
Thread Tools Search this Thread
Old 04-15-2022, 05:22 AM   #1
ngxson
Junior Member
ngxson began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Sep 2020
Device: Kindle Paperwhite 3
ReactJS on WAF - a new way to build applications

Quote:
WAF presumably standing for Web Application Framework, in this directory you can find quite a few applications -- most notably, the built-in experimental browser can be found there... Some WAFs are composed of a simple config.xml with reference to a source URL.
In the past, people used to build Kindle booklets on Java. This is complicated because they need to deal with jar signing problems. Now with ReactJS, you can build simple applications faster and easier.

This thread is supposed to be used by developers, to discuss on the boilerplate.

Get started

Check out the github repo: https://github.com/ngxson/hobby-kindle-waf

FAQ

Why?
Many system "apps" in newest Kindle firmware are written on javascript. Then why not?
(Fact: even the Experimental Web Browser itself is written in JS)

But JS is slow!
I understand. Although there're more native solutions like C (using cross GCC compiler) or LuaJIT (by that, I really appreciate NiLuJe's works) that allow good performance, they are hard for beginners who want to build simple apps.
Also, while ReactJS is the most famous web framework, there are many resources/demo apps that can be ported to the Kindle.

Great! So that means we can use all modern web features?
Not all of them... Please have a look at the boilerplate limitations.

So, what are posible apps?
I'm planning on implementing some games like chess (because all existing chess apps, both X11 and Booklet version, don't work anymore on new firmware verions), sudoku (half of the code has been shown on the boilerplate), card games like Solitaire or even Poker, minesweeper and many more.
Also some utilities like scientific calculator, todo list (maybe using Trello API), calendar app,... are also possible thanks to the support of XHR (this implies axios should work fine)
Attached Thumbnails
Click image for larger version

Name:	1650011518.png
Views:	259
Size:	36.8 KB
ID:	193233   Click image for larger version

Name:	1650011534.png
Views:	220
Size:	37.3 KB
ID:	193234  
ngxson is offline   Reply With Quote
Old 04-15-2022, 11:42 AM   #2
darkassassinua
Kindle priest
darkassassinua is faster than a rolling 'o,' stronger than silent 'e,' and leaps capital 'T' in a single bound!darkassassinua is faster than a rolling 'o,' stronger than silent 'e,' and leaps capital 'T' in a single bound!darkassassinua is faster than a rolling 'o,' stronger than silent 'e,' and leaps capital 'T' in a single bound!darkassassinua is faster than a rolling 'o,' stronger than silent 'e,' and leaps capital 'T' in a single bound!darkassassinua is faster than a rolling 'o,' stronger than silent 'e,' and leaps capital 'T' in a single bound!darkassassinua is faster than a rolling 'o,' stronger than silent 'e,' and leaps capital 'T' in a single bound!darkassassinua is faster than a rolling 'o,' stronger than silent 'e,' and leaps capital 'T' in a single bound!darkassassinua is faster than a rolling 'o,' stronger than silent 'e,' and leaps capital 'T' in a single bound!darkassassinua is faster than a rolling 'o,' stronger than silent 'e,' and leaps capital 'T' in a single bound!darkassassinua is faster than a rolling 'o,' stronger than silent 'e,' and leaps capital 'T' in a single bound!darkassassinua is faster than a rolling 'o,' stronger than silent 'e,' and leaps capital 'T' in a single bound!
 
darkassassinua's Avatar
 
Posts: 35
Karma: 50027
Join Date: Oct 2019
Location: Kharkiv,Ukraine
Device: Kindle Paperwhite 5
Good news.
Waiting for file manager(like midnight commander) and alternate browser.
and Telegram xddd
darkassassinua is offline   Reply With Quote
Advert
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
WAF on Paperwhite dos1 Kindle Developer's Corner 16 04-28-2021 12:08 PM
/var/local/waf Semir Kindle Developer's Corner 0 08-25-2012 03:53 PM
WAF and select menu silver18 Kindle Developer's Corner 4 05-06-2012 12:19 PM
WAF Website aditya3098 Kindle Developer's Corner 3 03-07-2012 11:53 AM


All times are GMT -4. The time now is 07:54 AM.


MobileRead.com is a privately owned, operated and funded community.