<?xml version="1.0" ?><rss version="2.0">
    <channel>
	<title>ETF2L &#8211; Latest activity in &#8220;Looking for wordpress coder&#8221;</title>
	<link>https://staging.etf2l.org/forum/community/topic-28183/</link>
	<description><![CDATA[The latest posts to this topic.]]></description>
    	<item>
    	    <title>Reply by huhas</title>
    	    <link>https://staging.etf2l.org/forum/community/topic-28183/page-2/?recent=487944#post=487944</link>
    	    <description><![CDATA[I found a guy whos gonna help with code and design.

Thank you for your feedback and tips.]]></description>
    	    <guid isPermaLink="false">generator=rsdiscuss&#038;baseurl=https://staging.etf2l.org&#038;feed=forum&#038;forum=community&#038;topic=28183&#038;post=487944</guid>
    	    <pubDate>Wed, 26 Feb 2014 19:40:56 +0100</pubDate>
    	</item>
    	<item>
    	    <title>Reply by CHERRY COKE</title>
    	    <link>https://staging.etf2l.org/forum/community/topic-28183/page-2/?recent=487944#post=487938</link>
    	    <description><![CDATA[<i>Quoted from Spike Himself</i>
		<blockquote>[...]

The article you linked to does highlight some serious issues with PHP, and sure you will run into some struggles regarding those. It doesn't make programming in PHP impossible though. Every language has its quirks, some more than others (if you truly want to rage at a programming language, try VB6). This is part of choosing programming as your profession though - these are things you will simply have to deal with as a programmer.

The author of that article makes a nice analogy with a carpenter's toolbox, but that is flawed in so many ways.. Earlier in his post he writes that programming is still a very new thing (which is very true), and then he goes to compare that to a profession that has been around since who knows when. I'm sure that when carpentry was as new as programming is now, they had weirdly shaped hammers too! And who is to say today's hammers are perfect? Maybe we haven't found the perfect hammer yet either :D

Stop. 

Hammer time.

Anyway, like I said, PHP has some serious quirks, but that's what gives it character imo, it's what makes it what it is. I've worked with PHP since version 4.2 (10 years ago?), and of course I've struggled, but you get over it and you learn how to deal with it.
(at the time, the only alternative I was aware of was perl.. you know..)</blockquote>

So good I used PHP too short to get used to it (4-5 years).
I understand why it was used and why it will be around for some time, but I just won't recommend it for any big future projects wherever it is possible, because what made it popular is what makes it so bad for me.
It became popular because it was around when the only alternative was Perl as you said, and that's (and deployment) why most shared hostings and many customers use it, but it made it have it's inconsistency (it's like Perl + C + Java) and restrictions (deployment).
It has it's place in coding history, but I just don't see any future for it. They've got two ways, they can either take some serious steps to make it better and consistent, which they seem to understand (but they just care about support for legacy scripts too much) or continue heading toward computing history.
The best way would be to develop two branches of PHP (5 and 6) keeping support for old websites in 5 and conforming it to modern standards and in 6, but they seem to be arguing too much to set any goal for their scripting language.]]></description>
    	    <guid isPermaLink="false">generator=rsdiscuss&#038;baseurl=https://staging.etf2l.org&#038;feed=forum&#038;forum=community&#038;topic=28183&#038;post=487938</guid>
    	    <pubDate>Wed, 26 Feb 2014 18:53:28 +0100</pubDate>
    	</item>
    	<item>
    	    <title>Reply by Spike Himself</title>
    	    <link>https://staging.etf2l.org/forum/community/topic-28183/page-2/?recent=487944#post=487910</link>
    	    <description><![CDATA[<i>Quoted from CHERRY</i>
		<blockquote>I agree that there are no perfect languages, but it doesn't mean that you must stay with Mister Paamayim Nekudotayim :)</blockquote>

The article you linked to does highlight some serious issues with PHP, and sure you will run into some struggles regarding those. It doesn't make programming in PHP impossible though. Every language has its quirks, some more than others (if you truly want to rage at a programming language, try VB6). This is part of choosing programming as your profession though - these are things you will simply have to deal with as a programmer.

The author of that article makes a nice analogy with a carpenter's toolbox, but that is flawed in so many ways.. Earlier in his post he writes that programming is still a very new thing (which is very true), and then he goes to compare that to a profession that has been around since who knows when. I'm sure that when carpentry was as new as programming is now, they had weirdly shaped hammers too! And who is to say today's hammers are perfect? Maybe we haven't found the perfect hammer yet either :D

Stop. 

Hammer time.

Anyway, like I said, PHP has some serious quirks, but that's what gives it character imo, it's what makes it what it is. I've worked with PHP since version 4.2 (10 years ago?), and of course I've struggled, but you get over it and you learn how to deal with it.
(at the time, the only alternative I was aware of was perl.. you know..)]]></description>
    	    <guid isPermaLink="false">generator=rsdiscuss&#038;baseurl=https://staging.etf2l.org&#038;feed=forum&#038;forum=community&#038;topic=28183&#038;post=487910</guid>
    	    <pubDate>Wed, 26 Feb 2014 16:27:18 +0100</pubDate>
    	</item>
    	<item>
    	    <title>Reply by CHERRY COKE</title>
    	    <link>https://staging.etf2l.org/forum/community/topic-28183/page-2/?recent=487944#post=487907</link>
    	    <description><![CDATA[<i>Quoted from Spike Himself</i>
		<blockquote>[...]

Going by the general opinion in this thread you would have to make something from scratch in a language that hasnt been invented yet (because god forbid you use a language that has flaws)

Alternatively, wordpress will do fine for what you're after imo. Yes, it has flaws, php has flaws, mysql has flaws.. Everything has flaws. At some point you're going to have to be realistic though - most of these things aren't even going to bother you unless you're going into very technical specifics.

Your main challenge will be to find a coder that actually has experience with wordpress coding. This is important because coding with wordpress can really get messy if you don't know where to draw the line between using a wordpress feature (which you would otherwise not know existed) and writing a dirty work-around for stuff wordpress lacks.

tl;dr nothing is perfect - you can spend the next 15 years looking for something that <em>is</em> perfect, or you can just deal with it and start working

Just my opinion.</blockquote>
You got me with previous example.
I agree that there are no perfect languages, but it doesn't mean that you must stay with Mister Paamayim Nekudotayim :)]]></description>
    	    <guid isPermaLink="false">generator=rsdiscuss&#038;baseurl=https://staging.etf2l.org&#038;feed=forum&#038;forum=community&#038;topic=28183&#038;post=487907</guid>
    	    <pubDate>Wed, 26 Feb 2014 16:05:39 +0100</pubDate>
    	</item>
    	<item>
    	    <title>Reply by Spike Himself</title>
    	    <link>https://staging.etf2l.org/forum/community/topic-28183/page-2/?recent=487944#post=487900</link>
    	    <description><![CDATA[<i>Quoted from huhystah</i>
		<blockquote>What would you suggest to use instead of wordpress? The main reason I guess on why we were going to stick with wordpress, is because of twitch tv embed stream feature and few other ones.</blockquote>

Going by the general opinion in this thread you would have to make something from scratch in a language that hasnt been invented yet (because god forbid you use a language that has flaws)

Alternatively, wordpress will do fine for what you're after imo. Yes, it has flaws, php has flaws, mysql has flaws.. Everything has flaws. At some point you're going to have to be realistic though - most of these things aren't even going to bother you unless you're going into very technical specifics.

Your main challenge will be to find a coder that actually has experience with wordpress coding. This is important because coding with wordpress can really get messy if you don't know where to draw the line between using a wordpress feature (which you would otherwise not know existed) and writing a dirty work-around for stuff wordpress lacks.

tl;dr nothing is perfect - you can spend the next 15 years looking for something that <em>is</em> perfect, or you can just deal with it and start working

Just my opinion.]]></description>
    	    <guid isPermaLink="false">generator=rsdiscuss&#038;baseurl=https://staging.etf2l.org&#038;feed=forum&#038;forum=community&#038;topic=28183&#038;post=487900</guid>
    	    <pubDate>Wed, 26 Feb 2014 15:13:29 +0100</pubDate>
    	</item>
    	<item>
    	    <title>Reply by huhas</title>
    	    <link>https://staging.etf2l.org/forum/community/topic-28183/page-2/?recent=487944#post=487898</link>
    	    <description><![CDATA[What would you suggest to use instead of wordpress? The main reason I guess on why we were going to stick with wordpress, is because of twitch tv embed stream feature and few other ones.]]></description>
    	    <guid isPermaLink="false">generator=rsdiscuss&#038;baseurl=https://staging.etf2l.org&#038;feed=forum&#038;forum=community&#038;topic=28183&#038;post=487898</guid>
    	    <pubDate>Wed, 26 Feb 2014 14:56:07 +0100</pubDate>
    	</item>
    	<item>
    	    <title>Reply by Spike Himself</title>
    	    <link>https://staging.etf2l.org/forum/community/topic-28183/page-2/?recent=487944#post=487897</link>
    	    <description><![CDATA[<i>Quoted from CHERRY</i>
		<blockquote>[...]
Yeah you might use wp_rewrite to redirect to your plugin php file, but as far as I know you can't just create frontend plugin page.</blockquote>

<code>
add_filter(&#160;'page_template',&#160;'blabla_page_template'&#160;);
function&#160;blabla_page_template(&#160;$page_template&#160;)
{
&#160;&#160;&#160;&#160;if&#160;(&#160;is_page(&#160;'my-custom-page-slug'&#160;)&#160;)&#160;{
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;$page_template&#160;=&#160;BLABLA_DIR&#160;.&#160;'/custom-page-template.php';
&#160;&#160;&#160;&#160;}
&#160;&#160;&#160;&#160;return&#160;$page_template;
}
</code>]]></description>
    	    <guid isPermaLink="false">generator=rsdiscuss&#038;baseurl=https://staging.etf2l.org&#038;feed=forum&#038;forum=community&#038;topic=28183&#038;post=487897</guid>
    	    <pubDate>Wed, 26 Feb 2014 14:49:13 +0100</pubDate>
    	</item>
    	<item>
    	    <title>Reply by CHERRY COKE</title>
    	    <link>https://staging.etf2l.org/forum/community/topic-28183/page-2/?recent=487944#post=487896</link>
    	    <description><![CDATA[<i>Quoted from Spike Himself</i>
		<blockquote>[...]

This is simply not true and just goes to show you have very limited knowledge of wordpress.</blockquote>
Yeah you might use wp_rewrite to redirect to your plugin php file, but as far as I know you can't just create frontend plugin page.]]></description>
    	    <guid isPermaLink="false">generator=rsdiscuss&#038;baseurl=https://staging.etf2l.org&#038;feed=forum&#038;forum=community&#038;topic=28183&#038;post=487896</guid>
    	    <pubDate>Wed, 26 Feb 2014 14:41:24 +0100</pubDate>
    	</item>
    	<item>
    	    <title>Reply by Spike Himself</title>
    	    <link>https://staging.etf2l.org/forum/community/topic-28183/page-2/?recent=487944#post=487890</link>
    	    <description><![CDATA[<i>Quoted from CHERRY</i>
		<blockquote>You can't make league system without either making it depend on the theme (using theme's functions to render league pages instead of wordpress ones) <strong>or changing wordpress core files</strong></blockquote>

This is simply not true and just goes to show you have very limited knowledge of wordpress.]]></description>
    	    <guid isPermaLink="false">generator=rsdiscuss&#038;baseurl=https://staging.etf2l.org&#038;feed=forum&#038;forum=community&#038;topic=28183&#038;post=487890</guid>
    	    <pubDate>Wed, 26 Feb 2014 14:01:33 +0100</pubDate>
    	</item>
    	<item>
    	    <title>Reply by Russian Guyovich</title>
    	    <link>https://staging.etf2l.org/forum/community/topic-28183/page-2/?recent=487944#post=487880</link>
    	    <description><![CDATA[No materialised/indexed views sounds like a nightmare. Thanks for the info!]]></description>
    	    <guid isPermaLink="false">generator=rsdiscuss&#038;baseurl=https://staging.etf2l.org&#038;feed=forum&#038;forum=community&#038;topic=28183&#038;post=487880</guid>
    	    <pubDate>Wed, 26 Feb 2014 13:36:45 +0100</pubDate>
    	</item>
    	<item>
    	    <title>Reply by emb</title>
    	    <link>https://staging.etf2l.org/forum/community/topic-28183/page-1/?recent=487944#post=487876</link>
    	    <description><![CDATA[<i>Quoted from Russian Guyovich</i>
		<blockquote>Coming from an Oracle/SQL Server background, I've never delved much into MySQL.

Out of curiosity though, what are some of the reasons which make it suck? Is it just for a back end to Wordpress or are there more common limitations in the RDBMS itself?

Apologies for the off-topic question, but I'm interested.</blockquote>
The biggest issue I have with MySQL is the inferior query planner.

It will sometimes miss indexes in bigger queries, especially subqueries, resulting in a huge performance hit unless you force the index. You have to look at the explain plan for any query involving more than a couple of joins even if you have a perfect understanding of the underlying schema.

It will sometimes fail to properly optimize queries to views built from left joins, querying tables that are absolutely unnecessary. For example, selecting <code>a</code> from a view that is defined as
<code>
SELECT 
foo.a, bar.b, baz.c
FROM foo
LEFT JOIN b ON foo.derp = bar.herp
LEFT JOIN c ON foo.derp = baz.herp</code>

will only query table <code>foo</code> in Postgres and OracleDB, but may also query tables <code>bar</code> and/or <code>baz</code> in MySQL, even though it has no reason to. This is part of the reason MySQL views are notorious for sinking performance in projects.

Additionally, MySQL does not even try to optimize queries with 3 or more levels of depth - they always result in full table scans. Such queries can be very useful for certain applications, and Postgres/OracleDB can usually optimize them without issues.

Another feature I found missing in MySQL is materialized views, which is a neat way to store expensive result sets in a form that you can operate on with regular SQL statements.

All things considered, I would suggest going with Postgres if you have a choice.  As ETF2L is built on top of Wordpress, I did not have one.


As for building a league on top of Wordpress, using my experience with ETF2L as an example, I wouldn't necessarily say that's a bad idea for a small league. Most of the issues ETF2L has are a direct result of somebody being lazy, rather than limitations of the platform. WordPress has some quirks but it is alright to work with.]]></description>
    	    <guid isPermaLink="false">generator=rsdiscuss&#038;baseurl=https://staging.etf2l.org&#038;feed=forum&#038;forum=community&#038;topic=28183&#038;post=487876</guid>
    	    <pubDate>Wed, 26 Feb 2014 13:08:25 +0100</pubDate>
    	</item>
    	<item>
    	    <title>Reply by CHERRY COKE</title>
    	    <link>https://staging.etf2l.org/forum/community/topic-28183/page-1/?recent=487944#post=487875</link>
    	    <description><![CDATA[<i>Quoted from Spike Himself</i>
		<blockquote>[...]

I'm glad you didn't mention me there, because I do actually disagree. The ETF2L code doesn't use wordpress the way it should be (for legacy reasons - many features that now exist in wordpress didn't yet when etf2l was originally written). End of the day if you keep your league code and tables separate from wordpress code and tables (think MVC-like here), you won't be facing many issues.

Yes, wordpress has its limitations, as does every pre written system out there. Ideally of course you'd write something like this from scratch (good luck maintaining your cup pages and news posts etc), but if you insist on choosing from an existing CMS-like system, wordpress most definitely isn't far down the list.

Wordpress' codebase is very nice, has many features that lets you customise just about everything and it's extremely well documented, too. Using it properly does require a certain amount of experience, but such is life.

As for PHP and MySQL sucking, that's just your opinion :)</blockquote>

You can't make league system without either making it depend on the theme (using theme's functions to render league pages instead of wordpress ones) or changing wordpress core files, so yes Wordpress has it's limitations, which disqualify it as cms for the league. Still you can mak everything using theme's functions and plugins overriding wordpress defaults, but what's the point since making wordpress plugin and theme will take +/- same amount of time as making it from scratch with different language.

As for MySQL and PHP sucking it's an opinion based on facts. You might not need some of the things missing in MySQL and PHP and ignore it's flaws. I just don't believe people who say that PHP is good. In my opinion they just didn't have chance to use <strong>good</strong> programming language.

Here's a short list of PHP's flaws:
<strong>Philosophy</strong>
<strong>Operators</strong>
<strong>Variables</strong>
<strong>Constructs</strong>
<strong>Error handling</strong>
<strong>Functions</strong>
<strong>OO</strong>
<strong>Data manipulation</strong>
<strong>Execution</strong>
<strong>Security</strong>
<strong>Inconsistency</strong>

Here's good article on this topic <a href="http://me.veekun.com/blog/2012/04/09/php-a-fractal-of-bad-design/">http://me.veekun.com/blog/2012/04/09/php-a-fractal-of-bad-design/</a>]]></description>
    	    <guid isPermaLink="false">generator=rsdiscuss&#038;baseurl=https://staging.etf2l.org&#038;feed=forum&#038;forum=community&#038;topic=28183&#038;post=487875</guid>
    	    <pubDate>Wed, 26 Feb 2014 13:03:19 +0100</pubDate>
    	</item>
    	<item>
    	    <title>Reply by byte</title>
    	    <link>https://staging.etf2l.org/forum/community/topic-28183/page-1/?recent=487944#post=487865</link>
    	    <description><![CDATA[<i>Quoted from KillAri</i>
		<blockquote>Take a theme, modify color/size/position , job done.
Lot of people can do that byte :p</blockquote>

Is it abit more than basic HTML/CSS though isn't it if u're going to change the layout, also how to portray information and interactions/permutations, using angularjs/jquery.

But yes KillAri guess anybody can do that.....(!)


And yes in agreement with ntraum php and mysql suck testicals with wordpress, you'd be better making off a site from scratch using php framework (symfony) and sql.

Cheers

Byte]]></description>
    	    <guid isPermaLink="false">generator=rsdiscuss&#038;baseurl=https://staging.etf2l.org&#038;feed=forum&#038;forum=community&#038;topic=28183&#038;post=487865</guid>
    	    <pubDate>Wed, 26 Feb 2014 11:28:25 +0100</pubDate>
    	</item>
    	<item>
    	    <title>Reply by Spike Himself</title>
    	    <link>https://staging.etf2l.org/forum/community/topic-28183/page-1/?recent=487944#post=487864</link>
    	    <description><![CDATA[<i>Quoted from nTraum</i>
		<blockquote>emb, dave, slate, ST8, Deneussbeer and anyone who has ever touched the ETF2L source code will agree I guess.</blockquote>

I'm glad you didn't mention me there, because I do actually disagree. The ETF2L code doesn't use wordpress the way it should be (for legacy reasons - many features that now exist in wordpress didn't yet when etf2l was originally written). End of the day if you keep your league code and tables separate from wordpress code and tables (think MVC-like here), you won't be facing many issues.

Yes, wordpress has its limitations, as does every pre written system out there. Ideally of course you'd write something like this from scratch (good luck maintaining your cup pages and news posts etc), but if you insist on choosing from an existing CMS-like system, wordpress most definitely isn't far down the list.

Wordpress' codebase is very nice, has many features that lets you customise just about everything and it's extremely well documented, too. Using it properly does require a certain amount of experience, but such is life.

As for PHP and MySQL sucking, that's just your opinion :)]]></description>
    	    <guid isPermaLink="false">generator=rsdiscuss&#038;baseurl=https://staging.etf2l.org&#038;feed=forum&#038;forum=community&#038;topic=28183&#038;post=487864</guid>
    	    <pubDate>Wed, 26 Feb 2014 11:13:33 +0100</pubDate>
    	</item>
    	<item>
    	    <title>Reply by CHERRY COKE</title>
    	    <link>https://staging.etf2l.org/forum/community/topic-28183/page-1/?recent=487944#post=487863</link>
    	    <description><![CDATA[If I'd be doing it from scratch I'd go with Python+Pylons/Django+PostgreSQL.
For me the biggest problem with MySQL is that it's pain in the ass to use it with SQLAlchemy, but there are few more reasons, if you want to know more head to this <a href="http://www.wikivs.com/wiki/MySQL_vs_PostgreSQL">http://www.wikivs.com/wiki/MySQL_vs_PostgreSQL</a>.

On the other hand it will be much easier to find PHP coder than Python.]]></description>
    	    <guid isPermaLink="false">generator=rsdiscuss&#038;baseurl=https://staging.etf2l.org&#038;feed=forum&#038;forum=community&#038;topic=28183&#038;post=487863</guid>
    	    <pubDate>Wed, 26 Feb 2014 10:15:39 +0100</pubDate>
    	</item>
    </channel>
</rss>