Just an idea: A Codeigniter Fiddle - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: General (https://forum.codeigniter.com/forumdisplay.php?fid=1) +--- Forum: Lounge (https://forum.codeigniter.com/forumdisplay.php?fid=3) +--- Thread: Just an idea: A Codeigniter Fiddle (/showthread.php?tid=63025) Pages:
1
2
|
Just an idea: A Codeigniter Fiddle - PaulD - 09-17-2015 Hi, Just following a previous question, it dawned on me that having a codeigniter fiddle website would be really cool. Does anyone have the time and necessary coding skill to build one? It would be a fantastic addition to the CI site too perhaps, as there could be a great library of working examples for people to look at, fiddle with, create their own and share. For me, although I would love to build it, I am certain it is far outside my abilities to do so. It might also be quite a massive task to build, but I would love to see one. Just thought I would mention the idea though as I thought it was a good one, and see what everyone else thought. Best wishes, Paul. RE: Just an idea: A Codeigniter Fiddle - solidcodes - 09-18-2015 So how can you fiddle a server side php framework? It's not a javascript/jquery that will run without a server. RE: Just an idea: A Codeigniter Fiddle - PaulD - 09-18-2015 I meant a bit like something similar to http://phpfiddle.org/ or http://codepad.org/ or http://sqlfiddle.com/ I had a quick look into how I would try one myself today, but gave up almost immediately. http://stackoverflow.com/questions/17014132/how-to-write-a-simple-php-fiddle-to-execute-php-code-safely I thought it might be done with an include or an eval but that just is not going to work. I imagined three windows, a view, a controller and a model. However the model might be a bit ambitious as you would have to define a table at least in a mock database. Perhaps a view and a controller would do for most things. As I said in my idea above, it is clearly beyond my abilities to do, and would probably represent too much work/cost to build, but I thought it was still a nice idea. Best wishes, Paul. RE: Just an idea: A Codeigniter Fiddle - jLinux - 09-19-2015 I have seen some PHP based fiddle-type websites... I suppose it would be nice Why dont YOU make one? OP? RE: Just an idea: A Codeigniter Fiddle - includebeer - 09-20-2015 (09-17-2015, 06:26 AM)PaulD Wrote: For me, although I would love to build it, I am certain it is far outside my abilities to do so. (09-18-2015, 05:13 PM)PaulD Wrote: As I said in my idea above, it is clearly beyond my abilities to do (09-19-2015, 09:03 PM)jLinux Wrote: Why dont YOU make one? OP? Maybe you could start by reading the entire post! Seriously, nothing beats a local test site. I think a PHP fiddle site would be a lot of work to make sure people can't run nasty code and hack the web site. RE: Just an idea: A Codeigniter Fiddle - PaulD - 09-20-2015 (09-20-2015, 02:30 PM)includebeer Wrote: Seriously, nothing beats a local test site. Could not agree more, in fact I have a hosted live test site just for ease of testing on different browsers and devices too. (09-20-2015, 02:30 PM)includebeer Wrote: I think a PHP fiddle site would be a lot of work to make sure people can't run nasty code and hack the web site. Yes, exactly the problem. In fact it is because I know very little about security for servers that I would not know where to start to build a sandboxed environment. Otherwise I would love to give it a go. I just think that for sharing code, code problems, and examples it would be a good idea, or at least a nice to have. I use php fiddle sites (and JS fiddle sites even more) when exploring new functions or trying to solve a particular issue. Or when I am playing code golf :-) Perhaps someone with access to more resources and relevant knowledge will feel inspired to create one in the future. Best wishes, Paul. Codeigniter Fiddle fiddler - Corsari - 07-29-2017 I have found one pretty interesting Open http://code.runnable.com Go to PHP section and check out popular tags and topics, you'll see Codeigniter is the most trending RE: Just an idea: A Codeigniter Fiddle - Kaosweaver - 07-29-2017 A fiddle would be limited in capabilities, essentially, without a database connection to the live data, virtually every site I work on wouldn't be able to use it. Furthermore, any site other than our site, I wouldn't ever enter my logins for the database either (and setting up a remote schema and populating with fake data is possible, but then we're talking a lot of work to just use it and it gets beyond a fiddle, more like a truddery) RE: Just an idea: A Codeigniter Fiddle - twpmarketing - 07-29-2017 (07-29-2017, 08:37 AM)Kaosweaver Wrote: ... more like a truddery) I don't know this term "truddery". What is it? RE: Just an idea: A Codeigniter Fiddle - Kaosweaver - 07-31-2017 (07-29-2017, 09:02 PM)twpmarketing Wrote:(07-29-2017, 08:37 AM)Kaosweaver Wrote: ... more like a truddery) A word I made up to sound like drudgery. (but did it poorly...) |