DEV Community

Firebase CRUD

John Dave Manuel on August 29, 2019

This is my first time to post here in dev.to since I joined to this awesome community, I spend most of my free time here instead of browsing in Fac...
Collapse
 
micahlt profile image
Micah Lindley

Perhaps we can use something like this in Checkmark... just need it to read and write to an HTML list instead of a table. πŸ€·πŸ»β€β™‚οΈ

Collapse
 
johndavemanuel profile image
John Dave Manuel

How do you paginate your data in Checkmark?

Collapse
 
micahlt profile image
Micah Lindley

Hmmm... I’m not using pagination right now. All that’s being used is a lot of li elements. Every time you create a new task, the Javascript creates a new list item.

Thread Thread
 
johndavemanuel profile image
John Dave Manuel

I see. I am planning to create something like this

datatables.net/

take a look on the pagination with hint of items that is currently display

Thread Thread
 
micahlt profile image
Micah Lindley

Okay... the issue is that doing that kind of defeats the purpose of Checkmark. It’s meant to be a sleek and extremely simple checklist that is effortless to use and sync. If I use the table, I can’t use the same CSS (Materialize) that I’m using. It would be practical, but the main point of Checkmark is simplicity and elegance. Is there any way to accomplish Firebase dB communications without using a table?

Thread Thread
 
johndavemanuel profile image
John Dave Manuel

Yes, it is possible, the return of the firebase DB is like a JSON, so it is up to you what element you will use to display it.

Collapse
 
agilan96 profile image
agilan96 • Edited

did u find out the code where pagination and search works for this app...?
Please reply ASAP!

Collapse
 
sinhayzone profile image
sinhayzone

github.com/johndavemanuel/firebase...

the above link is no more available.....please provide the valid link

Collapse
 
johndavemanuel profile image
John Dave Manuel

ahh sorry about that, will change the repo ASAP

Collapse
 
agilan96 profile image
agilan96

Did u find out the code where pagination and search works for this app...?
Please reply ASAP!