Actually there is a way of extending the class function list programatically, however it is not particularly pretty. You would do so with Mixins. There is no native PHP functions to add mixins however I have cobbled it together using traits and a base Mixin class.
I've taken out the classes from one of my main projects and put them in a simple git repo with a very quick demo script.
I too have my own cms and have been considering writing an open source installer, not just to run updates but also for plugin installation. I've started spec'ing it out and to do it properly with security constraints, handling modification of files, chunking/patching modified files, file permissions, handling sql updates, interacting with repos etc, is a lot of work, but well worth a decent community effort.
If you are thinking of making an open source component library yourself, count me in. Send me a pm or something as I would love to collaborate on it.
Helsinki has a pretty decent meetup group, that being said I went once on was one of the only non-Finnish speakers, the presentations were then in English but I felt pretty guilty.
*Edit - just read conference and not meetup, sorry.
I did some work with Elgg at one point, up until I discovered the number of database queries for a users profile page was upwards of over 1000 and had a memory usage footprint of over 25MB.
It's a shame it was that sloppy (I can't comment on the current state of affairs), because the community is very active.
Personal projects can exist in so many places limiting that requirement is very short sighted and is quite frankly ridiculous. There are many alternatives to github, and just because it's the current flavour of the month doesn't mean people have to use it.
To an extent I agree, however lessons learnt from that type of premature optimisation can easily be added to successive projects from the start and at that point they are no longer evil.
has that actually happened? You have any references. I imagine if you stated what it was being used for in the t and c's it wouldn't be so much of a problem.
this is superseded by expose/expose
I asked a similar question on SO a few years back. Take a look at it and some of the linked pages.
http://stackoverflow.com/questions/6174691/sql-injection-detection-have-compiled-regexes-looking-for-test-injections
http://www.opensourcecms.com/ provide test installs of the cms. They reset the demos every 30 minutes or something
I'm not sure I would use it myself but I would see this as a possibly very useful aid in teaching younger developers regex
Ha, loving the Yorkshire slang. Perhaps the "thatllDo" should be either "thatllDoLuv" or "thatllDoPet"?
Actually there is a way of extending the class function list programatically, however it is not particularly pretty. You would do so with Mixins. There is no native PHP functions to add mixins however I have cobbled it together using traits and a base Mixin class.
I've taken out the classes from one of my main projects and put them in a simple git repo with a very quick demo script.
I too have my own cms and have been considering writing an open source installer, not just to run updates but also for plugin installation. I've started spec'ing it out and to do it properly with security constraints, handling modification of files, chunking/patching modified files, file permissions, handling sql updates, interacting with repos etc, is a lot of work, but well worth a decent community effort.
If you are thinking of making an open source component library yourself, count me in. Send me a pm or something as I would love to collaborate on it.
Helsinki has a pretty decent meetup group, that being said I went once on was one of the only non-Finnish speakers, the presentations were then in English but I felt pretty guilty.
*Edit - just read conference and not meetup, sorry.
I did some work with Elgg at one point, up until I discovered the number of database queries for a users profile page was upwards of over 1000 and had a memory usage footprint of over 25MB.
It's a shame it was that sloppy (I can't comment on the current state of affairs), because the community is very active.
Personal projects can exist in so many places limiting that requirement is very short sighted and is quite frankly ridiculous. There are many alternatives to github, and just because it's the current flavour of the month doesn't mean people have to use it.
That's somewhat different then. You could just use a piece of software like IonCube or Zend Guard
This has a certain whiff of blog spam. and at that it is bad advice and completely and utterly incorrect.
Edit: Actually this is definitely blog spam. look at the url, completely unrelated to content of post.
fyi. the iframe url is DNS not resolved.
Presumably some kind of enterprise level app. Hotels, airline booking etc?
what do you sell for $50,000?
ioncube with phpaudit
This entirely depends on where and how the class is being used so isn't a good rule of thumb at all.
Make sure if you do do your own auth system read the following at stackoverflow. http://stackoverflow.com/questions/549/the-definitive-guide-to-forms-based-website-authentication
I'm going to check it out over the next week and try to remember to let you know how I find it.
these could be of service to you, fairly language agnostic though.
http://stackoverflow.com/questions/549/the-definitive-guide-to-forms-based-website-authentication http://stackoverflow.com/questions/621884/database-development-mistakes-made-by-application-developers
To an extent I agree, however lessons learnt from that type of premature optimisation can easily be added to successive projects from the start and at that point they are no longer evil.
has that actually happened? You have any references. I imagine if you stated what it was being used for in the t and c's it wouldn't be so much of a problem.
An encoder such os Ioncube or Zende Encoder and a licensing system such as PHPAudit/SPBAS or do it yourself using PADL (PHP Application Distribution Licensing)
or exit;
could you not just do that in the constructor?