xtremespb / zoia_old

Zoia Web Framework (Zoia.js)
MIT License
49 stars 5 forks source link

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

Open ivansky opened 7 years ago

ivansky commented 7 years ago

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
xtremespb commented 7 years ago

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?
ivansky commented 7 years ago

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.

xtremespb commented 7 years ago

@ivansky what about frontend framework?

ivansky commented 7 years ago

@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 commented 7 years ago

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

centurianii commented 6 years ago

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!