zoia_old icon indicating copy to clipboard operation
zoia_old copied to clipboard

Does it possible to move admin panel to ui infrastructure like React?

Open ivansky opened this issue 7 years ago • 6 comments

Benefits against jQuery alike:

  1. Expandability
  2. Structurefull
  3. Components
  4. Ability to manage application state (redux, saga, etc.)
  5. No need for server-side rendering
  6. Thin backend

ivansky avatar Oct 16 '17 06:10 ivansky

I think that could be possible, but there are several questions from my side:

  1. Currently I'm using UIkit as front-end framework and it's based on jQuery. Should I rewrite all the components?
  2. Re-usability and support. Currently I can use my jQuery-based plugins everywhere, even when I create a new module. What about React?

xtremespb avatar Oct 17 '17 07:10 xtremespb

Components in React are re-usable. You can manage dependencies as you wish. Using obsolete technology like jQuery is too expensive to maintain later. Community will appreciate approach changes.

ivansky avatar Oct 17 '17 08:10 ivansky

@ivansky what about frontend framework?

xtremespb avatar Oct 17 '17 08:10 xtremespb

@xtremespb I think we can use any React-based ui framework like https://github.com/callemall/material-ui There are a lot of frameworks can be used here because React community is really large.

ivansky avatar Oct 17 '17 09:10 ivansky

Ideally React should be integrated in whole application with the server-side rendering and be splitted to separate maintainable modules to get maximum profit.

ivansky avatar Oct 17 '17 13:10 ivansky

I just stumble upon this repo searching for datatables for my framework too!!! I understand the effort it needs to built a framework and what about revenue after putting so much effort on sth. Your framework is a decent attempt and it will follow it's fate like everything including mine. My framework uses 'obsolete' technology like php and js, jquery as I had/have three factors in my mind:

  1. can I host several users in a box? (the scaling problem)
  2. can I absorb and customize free templates for my users?
  3. can I use the widest/popular codebase out there?

The answers drove me to simple 'obsolete' solutions. I have bought books for Angular that still sitting around because everything new becomes outdated fast! Node? yak! Java? Yak! What about Redux-React? Yak! Well ... -> https://medium.com/@garywiz/welcome-to-framework-hell-aa54a9b5d4fd

If you intend to make money by not hosting many users then the above restrictions change wildly and I might have wrong!

But so far so good: -Auth system (modified from github) check! -Captcha (github, no modifications) check! -Role based system check! -Security expandable check! -Paypal integration started -Templating almost there -Admin for users started -Theme builder coming -mySQL -> Yak! SQLite is the old hero!

Just Apache and linux is my motto! (along with some dogmatism like never write client code inside php) I hope I was some helpful!

centurianii avatar Jan 31 '18 11:01 centurianii