damn, thought that seemed too good to be true >.<
we do have some protection in we wont be letting anonymous people upload plugins, their accounts will need to be fully verified first (id/address/company registration proof)
I will prototype a scripted solution first i think, see how that works...
I like the node idea. that could work well and be automated. User would go through an upload process, upload a packaged php plugin, phing perhaps, then the uploader parses it, checking the file structure first, then it puts it through a reader/xdebug to evaluate the code. its either rejected and...
we have that functionality already through the rest API. So they can self-host an entire interface and just interact with our api for the data and back-end processing we offer.
the idea for the plugin is to allow users to add small pieces for functionality to our standard interface, either...
but this basically means running it in a completely separate environment. then might as well tell them to host their own plugin and just interact with our API, was hoping to make it a bit more simple for the user :/
3b is sounding more and more like the way to go. limited scripting language...
Has anyone worked on something like this before?
We have a closed web application coded in php/javascript, the usual. This application supports plugins to provide different features in the front-end. Kind of like widgets I guess.
We want to open this up to users so they can add plugins for...
How to set this location in the nginx site config file
2 possible paths:
/en/Content/fileX.xxx
/en/Content/fileY.yyy
/Content/fileX.xxx
/Content/fileY.yyy
both of these paths have files in the root as well as in multiple subdirectories.
fileX.xxx does not exist as a real file, there is a...
it is out of the flow, isnt it?
it needs to fill the available page width.
container 1 is relative so that container 2 can be absolute and in the correct location with top/left 0
container 2 is absolute so that it (visually) sits to the side of container 3
container 3 has no position, it just...
sorry, 1 more thing that should be in there:
http://jsfiddle.net/Nc5Y9/6/
site | http://thomassmart.com / http://tswwh.com
blog | http://weblog.thomassmart.com
ah, i need that one absolute because there is one under/next to it that needs to scale with the width of the screen.
updated: http://jsfiddle.net/Nc5Y9/4/
I see what you mean though with limited in width to its parent :/ perhaps its going to need js after all.
site |...
@vacunita: doesnt seem to be doing it. Perhaps I left out some important information in this.
have recreated a simplified version of my code on jsfiddle (cssfiddle is apparently an seo trap)
http://jsfiddle.net/Nc5Y9/
@Chris: now I want pizza! :P
site | http://thomassmart.com /...
Trying to achieve the following:
1. A parent container positioned absolute, because of reasons.
2. child elements that should be next to each other horizontally and push the parent width out. The number of child elements is dynamic but will not change after initial page load.
3. the above...
hehe good to include for academic completeness reasons but indeed dog ugly :p
site | http://thomassmart.com / http://tswwh.com
blog | http://weblog.thomassmart.com
i like that one, that could be useful :)
I have split up the parent function into 2 parts now and using the quitobject, working really nice :)
thanks!
site | http://thomassmart.com / http://tswwh.com
blog | http://weblog.thomassmart.com
i looked at something similar to delete future plugins in the queue which worked ok but had trouble applying it to the parent.
placing it after the parent function would have been a bit inefficient, the code further down the parent function is quite intensive which is why i want to skip it...
the full version of my plugin class is actually quite similar to the wordpress one ;)
i didnt use their actions part though, didnt see much use for it in this application.
returning a quitobject is indeed quite pretty, but still the same issue of the extra check, cant be helped though and...
but this results in the same dilemma as checking for a return flag. in most plugins the return data is changed, but the parent function should continue as normal. having this hook quit the function when it changes would be different behaviour and inconsistent again. Also, the return data for...
yea didn't think so :/ will have to use another way.
In short, I have an application with a bunch of classes and in those classes a bunch of functions.
In many of these functions I have plugin hooks and in most cases the hooks can simply edit the data and return it, or, if no plugin is...
Is this possible?
function parent_function(){
$data = 'middle';
echo 'start';
child_function($data);
echo 'end';
}
function child_function($data){
parent::return $data;
}
the result i want when parent_function() is called is that only 'start' is echo'd, but that the child function...
good points, in the app i was using this autoloader in i knew the files existed so didnt want to add overhead for file checking but for a more generic use that would indeed be a good idea.
i needed clearstatcache() the other day when doing unit tests >.< couldnt figure out why the next step of...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.