Support the ongoing development of Laravel.io →
Database Views

Hi! I'm a student and new to Frameworks and Laravel.

I was wondering if Laravel 4.X supports dynamic tables. Apparently I have a table on one of my views. and the contents of that table comes from my MySQL database. I want that table to automatically refresh/update when changes happen to my database.

My classmates that you must use JavaScript! Is there any other way? I'm not good / fond of JavaScript. tears

Thanks in advance!

Last updated 2 years ago.
0

Yup, JavaScript is required if you don't want to force page refreshes regularly to check. No better time than the present to get involved with JavaScript :)

Last updated 2 years ago.
0

Your options are polling, web sockets or CometD ajax push, all of which require javascript.

You could do it with flash or java applets too, but the gist is, the client(browser) needs to detect the changes and re-render the table.

Last updated 2 years ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2025 Laravel.io - All rights reserved.