CodeIgniter Forums
CI 3.1 for Website Building Platform - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5)
+--- Forum: Choosing CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=8)
+--- Thread: CI 3.1 for Website Building Platform (/showthread.php?tid=67001)



CI 3.1 for Website Building Platform - JG_NJ_1990 - 12-31-2016

Hi,

Preface: Please do not shoot down my idea by telling me how hard it is. I know Smile

Question: Is CI 3.1 a good framework for developing a very simple site building tool where users can login, create a small website via a drag and drop interface, and publish it on a subdomain?

Also:
  • What would you use for the Drag and Drop functionality, jQuery and AJAX?
  • Would MySQL be a good option for this platform? I assume each user will need a separate DB Smile

Thanks!


RE: CI 3.1 for Website Building Platform - ivantcholakov - 12-31-2016

"... very simple site building tool ..."

- Are you sure that it would be very simple?


"What would you use for the Drag and Drop functionality, jQuery and AJAX?"

- I use Drag and Drop for sorting table items using jQuery UI and AJAX. But for other cases I don't know. If the site is quite UI-interaction intense, then maybe a whole front-end JavaScript framework should be adopted, I don't know.


"... I assume each user will need a separate DB "

- No.


RE: CI 3.1 for Website Building Platform - Kaosweaver - 01-03-2017

I don't think the PHP side of this will be the problem parts. CI will be fine for that.
The JS framework is more important and will consume way more of your time, so I'd focus on that.
Like others have said, you have a singular database (mySQL is widely supported and very good).


RE: CI 3.1 for Website Building Platform - enlivenapp - 01-03-2017

Keep in mind since Oracle bought MySQL they've not done much with it and in fact 5.7 was supposed to have many more features than it did. (I skimmed the news, so I have little details about it).

From what I've read, many (most?) hosting providers will be going to MariaDB, which is from the folks who originally built MySQL and accepts all the same commands. If all of this is true, MySQL support will drop significantly (it'll still be around for a long time though) from the hosting provider standpoint.

To your questions, there's different ways to do the database. You can create a database for each website or use the database prefix in a single database... What you'll need to worry about more than that, is if you get a few websites with serious traffic you'll be in trouble if the database can't keep up.

I agree with the advice above, you'll need to worry much more on the JS things. CI is pretty great for building ajax requests.


RE: CI 3.1 for Website Building Platform - JG_NJ_1990 - 01-03-2017

Thanks all.

Are jQuery/jQuery good options? I know jQuery very well, not many others though...


RE: CI 3.1 for Website Building Platform - ivantcholakov - 01-04-2017

@JG_NJ_1990

https://jqueryui.com/droppable/

I would say, start with classics, let CodeIgniter render the pages and use jQuery UI and AJAX for the front-end interactions. The field of JavaScript frameworks seems to be dynamic at the moment, making a choice is hard. In the future, if you decide to make refactoring, you may choose a JavaScript framework that offers progressive enhancement, so you would be able to upgrade your project gradually.

I think, it is safe you to start with these technologies that you are familiar with. Better focus on making your application concept to work, technicality could be postponed.