Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

qcubed 4 on php 8.x #1332

Open
neuroticimbecile opened this issue Sep 28, 2022 · 13 comments
Open

qcubed 4 on php 8.x #1332

neuroticimbecile opened this issue Sep 28, 2022 · 13 comments

Comments

@neuroticimbecile
Copy link

Hi All,

Good day!
Sorry for cross-posting.
I'm not sure where to post this.

Are any of you guys still actively using qcubed 4?
Does it run on php 8.x

It's sad to have to ask this, but:
If you're not using qcubed anymore, which framework did you move on to?

Thank you.

@matthiaz
Copy link
Contributor

Personally still actively using qcubed.
qcubed 4 does run on php 8

@kukrik
Copy link
Member

kukrik commented Sep 28, 2022

Hi,

I still use the qcubed-4 framework and it works fine for me, but here you have to remember that this framework doesn't work properly since PHP 8.1. I had tested it myself on the php version. This framework works well up to PHP 8.

I cloned from qcubed to qcubed-4 and manage it myself, because there is no sign of life in the community and it was necessary to carry out updates, etc. I also changed composer to 2.0 minimum so that it could continue to work.

If the time is so far that, for example, PHP 8.1 should be switched to, unfortunately, a lot of reworking will have to be done.

@kukrik
Copy link
Member

kukrik commented Sep 28, 2022

Sorry I have one necessary job left to do, it's travis. I also have to rework here, so far I've had fast times and more to come :(:

@matthiaz
Copy link
Contributor

matthiaz commented Sep 28, 2022 via email

@kukrik
Copy link
Member

kukrik commented Sep 28, 2022

Where to share your work, here :) ? I have made some small updates in the qcubed-4 version, I don't remember anymore, all the updates or fixes were for this framework to work on PHP 8.0 as it should be...

@kukrik
Copy link
Member

kukrik commented Sep 28, 2022

Also, for your information, https://qcubed.eu/ works on qcubed-4 and PHP 8.0 :)

@kukrik
Copy link
Member

kukrik commented Sep 28, 2022

Hey @matthiaz , if you're interested in qcubed-4, I'll make you an admin too?

@matthiaz
Copy link
Contributor

matthiaz commented Sep 28, 2022 via email

@spekary
Copy link
Member

spekary commented Sep 28, 2022

I ported QCubed to Go and use it there. Its pretty mature, but lacks documentation. It generally works the same though. Start with a database and it outputs a CRUD website that you alter. Structure of model, form and panel are similar too.

The advantages over PHP are:

  • Its compiled and strongly typed, so works much faster, catches errors at compile time, and produces a small footprint.
  • A recent change to Go allows it to bundle all the assets into the executable file. So one copy operation can send it to the server. A typical website is under 100MB for everything. Its also easy to embed it in a docker container.
  • It supports WebSockets, so it does live updates to the client when data changes.

See it here https://github.com/goradd/goradd

@matthiaz
Copy link
Contributor

matthiaz commented Sep 28, 2022 via email

@spekary
Copy link
Member

spekary commented Sep 28, 2022

I believe the problems you had are now fixed. When you posted your errors, I couldn't get to them immediately.

I moved testing to GitHub's CI platform. The project now gets CI tests on both Ubuntu and Windows.

@matthiaz
Copy link
Contributor

matthiaz commented Sep 28, 2022 via email

@neuroticimbecile
Copy link
Author

neuroticimbecile commented Oct 7, 2022 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants