greut

- friends
3,428 link karma
192 comment karma
send messageredditor for
what's this?

TROPHY CASE


  • Four-Year Club

    Verified Email

Coming in PHP 5.4.0: OOP-based custom session handlers by frozenfirein PHP

[–]greut 0 points1 point ago

Those mentioned ones are strongly typed and PHP isn't; which might explain the difference. If it quacks like a duck, it's duck isn't enough?

how come javascript doesn't have printf? by Samus_in javascript

[–]greut 6 points7 points ago

Maybe because JavaScript was designed to be run into an environment without any stdout/stderr - where should it print it by default? meh.

If you wanna talk about the f part of your question, they never had to think about it maybe.

Can anyone help me rewrite working PHP code so that it no longer uses cURL, but an alternative? by theirfRedditin PHP

[–]greut 0 points1 point ago

For something totally different, when doing a redirect.

header("Location: introduction.html");

You have to specify the full URL, including domain and scheme.

http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.30

ELI5 why all banks aren't like swiss banks? by needmoreknowledgein explainlikeimfive

[–]greut 1 point2 points ago

Swiss people decided otherwise once they realized they lived in a country with no natural resources like Oil, Diamonds, Gold, Coal, Sea/Ocean, … Since then winter sports went popular but snow's melting ;-)

Javscript front and back end CMS? by toksicityin javascript

[–]greut 0 points1 point ago

that's the “JavaScript back” part of the question.

Anyone willing to contribute to Jaiku-engine Project on Appengine written in Python. (non-commercial) by sifaratin AppEngine

[–]greut 0 points1 point ago

I can tell you that there are no Jaiku-engine code within Status.net.

Javscript front and back end CMS? by toksicityin javascript

[–]greut 0 points1 point ago

What do you mean by “JavaScript front”, compared to any other kind of CMS (even if CMS is a very large family)?

Anyone willing to contribute to Jaiku-engine Project on Appengine written in Python. (non-commercial) by sifaratin AppEngine

[–]greut 0 points1 point ago

It says that it's running StatusNet?? I'm confused.

Implementation of Mongo in a new PHP Framework by markfischerin mongodb

[–]greut 1 point2 points ago

If you're implementing a new framework, make it PSR-0 compatible, at least. You should take a look at what PHP 5.3 offers, that's the now.

A phpmyadmin alternative. Webdbadmin was released. by klodomain programming

[–]greut 0 points1 point ago

The URL License is now a 404 and the price has been lowered, thanks to Reddit I guess the developer being the poster.

Is PEAR the only place for publishing modules? by sleep_wellin PHP

[–]greut 4 points5 points ago

What do you use for “browsing” PHP modules? Nothing but a search engine and trusting people's recommendations, blog posts, tutorials, … The first step is to publish you code somewhere, pick bitbucket, launchpad, google code, sourceforge, …

“Easy to be found” means somewhere on Google and for that you're on your own.

You can mock something like package repository, dependencies, … using svn:externals, git submodule, …

Thanks for the links, may one of them become popular.

Is PEAR the only place for publishing modules? by sleep_wellin PHP

[–]greut 7 points8 points ago* 

Try this: http://github.com

PEAR(2) isn't much popular

Jour férié pour juifs et musulmans : Eva Joly de nouveau au coeur des critiques by Naruhodoin france

[–]greut 2 points3 points ago

C'est à l'envers de la laïcité qui place la République dans le rôle de ne pas prendre parti face aux diverses religions et de permettre à tout un chacun de les exercer. Un état laïque n'est ni un état qui interdit toute religion ni un état qui en promeut certaines.

Et un jour pour les athés?

“God bless France!!”

A phpmyadmin alternative. Webdbadmin was released. by klodomain programming

[–]greut 1 point2 points ago

phpmyadmin is free as in free beer and free speach, this one isn't: http://www.webdbadmin.com/projects/webdbadmin/wiki/License

The price starts at € 25 for a 5 users, two servers installation.

Building a Simple PHP Templating Class by JoshuaKissoonin PHP

[–]greut 6 points7 points ago

Did you forget that PHP is a templating language? Why would you start all your file with a <?php otherwise?

Need some help convincing my employer to use Ruby on Rails instead of PHP by imjpin rails

[–]greut -1 points0 points ago

Try not to scare him off. I've seen companies doing some small projects in another technology (rails, django, …), ask to give it a shoot. Event something internal.

What you can tell your boss is that PunchCMS is somehow old, in its design. Take some time to give all the new PHP 5.3 framework, they are much better.

My question though: why did you take a job at a company doing PHP when you don't want working with that technology in first place?

Best practice for making a third party class match naming standards? by jonatcerin PHP

[–]greut 3 points4 points ago

BTW try to forget about include and use a proper autoloader: PSR-0. Check those slides: http://www.slideshare.net/weaverryan/a-php-christmas-miracle-3-frameworks-1-app

Best practice for making a third party class match naming standards? by jonatcerin PHP

[–]greut 8 points9 points ago* 

Keep your naming standards for your code and use 3rd party libraries as is. PHP is about this kind of incoherence, just take a look at PHP itself:

Writing adapters for every libraries you are including will be a real pain in the backside to maintain.

If you have nothing better to do of your time than nite-picking with naming standards, then do it ;-)

How to follow a low GI diet? by lampoluzain nutrition

[–]greut 0 points1 point ago

The GI wikipedia page seems to be a good start.

view more: next