PHP Quebec 2007

Once again, PHP Quebec was awesome. Every time I attend this conference, not only do I learn more about PHP, but I learn more about the community at large, and humanity as a whole. Thats right I said it. This was my third year in attendance. I’m really happy that the same people continue to come, as I can continue a good tradition every year. I’m also quite excited that I get to meet new people every year as well. In retrospect, I really could not have had a better time. Now, I will continue with my analysis on the social human, technology geeks, and alcoholism. If you just came here for the pictures, they can be found here.

There’s some studying to be done in regards to getting excessively drunk with people whom you share interest. It creates a strong bond between people. Being that when most people are discussing matters, they tend only to talk about the past, present, or future. When all the talk about the present is exhausted, humans usually revert o discussing things they’ve already done with the people they’ve done it with. “Remember that time we went to get bagels at 3am and it was closed? That was so crazy!” You could even say that these initial relationships could turn into something more, like a life long friendship, or a profitable business relationship, or an estranged ex-buddy that fucked you up and stole your woman. But alas, I digress..

This year I attended “Oracle PHP Performance” by Christopher Jones, “Unicoding with PHP 6″ by Andrei Zmievski, and “An Introduction to PHP 5.2″ by Ilia Alshanetsky. I should have attended more, but it was also my birthday, and I partied a little to hard the night before. All three talks were amazing and each deserves its own review, so I won’t attempt it here.

Thursday night a bunch of us went to KcKibbins irish bar and partied down. At the stroke of midnight, my birthday went into full effect. My girlfriend Tracy got everyone up on the karaoke stage and everyone sang happy birthday to me. I was feeling quite tipsy and emotional, and I could have died right there I was so happy. It was truly the best birthday/present I have ever received. Thanks all. The next night we ate at this old New France style restaurant where everyone dresses up like they did 400 years ago or something. Someone defected and told the organizers it was my birthday, so I had to stand in front of everyone an recite some old french and drink a shot of whiskey. I was a little nervous being in the hot seat, but it was also quite cool.

Friday night we went Les Deux Pierrot, as always do, and watched the fronsh get down to lots of American Pop and Canadian Folk music. Most of the people from the previous night showed up along with the rest of the PHP Quebec gang. We had a blast and I’m sure we spent $1000 on pitchers or something. Craziness.

Special thanks to Yann Larrivee and crew for organizing the event, keeping it professional, and giving us plenty to do to kill the time with friends.

Peace out.

Continue reading » · Written on: 10-06-08 · No Comments »

Using Your RSS Feed to Drive Traffic Back to Your Site

I’m sitting here realizing that there are a number of blogs out there that have repurposed content from one of my blogs on their site. Without asking my permission and without giving proper credit.

In most circles, this would constitute some serious plagiarism charges and would make most people really mad.

But not me, and it shouldn’t really bother you, as long as you’re taking the right steps to combat the content scraping menace.

Why, o fearless reader, do I not fret when someone reuses my content on their own blogs, surrounding said content with Adsense ads and affiliate links?

Because I’ve got my own links in my feed.

Suddenly, it’s no longer an issue of content scraping. Now, I have someone else providing links back to my blog, or a product, or one of my own affiliate links.

Do you think I really care that they are reusing my content without my permission?

Nope. Nada. Zilch.

They’re promoting whatever I’m promoting and I’m not having to lift a finger to do it. It’s just like having a great bio box in an article that you submit to any of the major article directories. If people want to use the article, they have to include the bio box.

If people want to scrape my RSS feeds, then they’re going to have to take all the links to the best computer podcast and my Internet Marketing and Podcasting blog, which you just happen to be reading right now.

So go ahead, all you content scrapers and swindlers. Reuse my content. Give me some more links back to my stuff. I don’t care.

We’ll both get some benefit out of the deal. I’ll just be the one that sleeps better at night.

Share/Save/Bookmark

a2a_linkname=”Using Your RSS Feed to Drive Traffic Back to Your Site”;
a2a_linkurl=”http://www.pikemalltech.com/2008/05/12/using-your-rss-feed-to-drive-traffic-back-to-your-site/”;

Continue reading » · Written on: 10-05-08 · 30 Comments »

New WordPress Interface (again)

Looks like WordPress is going through yet another backend redesign (flickr photo of it). It is now in WordPress 2.7-hemorrhage and has a brand new vertical-style navigation pane, as well as its legendary gray top-bar. See this post and this post for other people’s opinions. It seems that a lot of the pages are getting a redesign too, a notable one would be the recognizing of Dashboard and writing widgets (finally!!!). You can view this post, which lists a bunch of 2.7 features. I am looking forward to 2.7, but as I said, I still cannot stand this.

Continue reading » · Written on: 10-03-08 · No Comments »

PHP 5 Cool New Features & Search Engine Optimization (SEO)

Joshua Eichorn discusses some of the cool new features in PHP5.

Paul Yurt opens with discussion on Search Engine Optimization SEO.

The meeting starts at 7 at Walt’s TV in Tempe and will be followed by food and conversation at Boulders on Broadway.

Continue reading » · Written on: 09-30-08 · No Comments »

New Alternative Experimental Search Engine Ranknoodle

Searching for information from the web is a day to day undertaking. In my work I rely most of the time on Search Engine to help me find answers to questions at hand. It seems that when one is working with computers or Internet could never do without search engines.

I have encountered a new alternative search engine - RankNoodle.com which is a bit simplistic. As a starter I don’t expect much from this search engine. The main search engine page is a Search Box, Recent Searches and a listing of the Top 100 Searches. I tried searching, “Search Engine Optimization Website Branding Tool”, but the search box truncated it into “Search Engine Optimization Website ”.

Search results of ranknoodle.com is surprisingly different from Google. It starts with a summary or definition of the searched text, then followed by a related conversation to the searched text. I don’t know where the conversations come from. After those two is the web search result listing. There are comments, share, bury links at the bottom of each search result, but the links don’t work yet.

There are many things that needs to be done like About Us, Press, Community, have a standard page message of “Check Back Here Soon…”. It’s good at least they have the Privacy Policy, Terms of Use containing the same information. This new search engine comes from Las Vegas, USA as the Contact Us page of the site showed.

This Experimental Search Engine have to make a lot of changes to catch up with the current dominant search engines like Google, Yahoo, MSN, Altavista, to name a few.

Continue reading » · Written on: 09-28-08 · No Comments »

PHP framework comparison benchmarks

In response to Wil’s comment regarding the PHP framework performance comparisons I made in my previous post, I have decided to post the results I got.
My decision not post them initially was due to the benchmarks not being done in complete isolation (a seperate client and server machine) but the scores relative to each should still be accurate and that’s what I am testing for.

Furthermore, while I only used requests/sec as a performance yardstick, I do realize that other factors do affect a web application’s response in the real world.

The Tools

The tests were run on a 1.8Ghz AMD sempron computer with 512Mb RAM running Ubuntu Gutsy (7.10) Desktop.
I used httperf to run the tests although I did run some of them again using apachebench and the results were consistent.

I created the same front page with CakePHP, CodeIgniter, Zend Framework and Ruby on Rails. I also duplicated the same functionality in HTML and in PHP using procedural code (aka. spaghetti code) to act as baselines.

I decided to include data access in the tests and the tests involve the application fetching four rows from the database and rendering the results.

View the sample page.

The test files are also available for download for those interested in them. The sql file for the mysql database is also included. The code assumes a database root user with no password.

  • Get the tar file
  • Get the zip file

The Results

All scores are requests per second. Higher is better.

  • No PHP code cache
    All frameworks used an ORM (of sorts, in the case of codeigniter). The Zend Framework used Zend_DB_Table and CodeIgniter used ActiveRecord.

    Run 1

    Run 2

    Run 3

    Run 4

    Average

    Baseline HTML

    1327.5

    1326.5

    1328.6

    1329.1

    1327.9

    Baseline PHP

    331.6

    332.1

    331.4

    332.0

    331.8

    CakePHP

    3.6

    3.7

    3.8

    3.5

    3.7

    CodeIgniter

    21.5

    21.2

    21.7

    21.7

    21.5

    Zend Framework

    9.3

    9.1

    9.2

    9.3

    9.2

  • With eAccelerator PHP code cache
    All frameworks used an ORM (of sorts, in the case of CodeIgniter). The Zend Framework used Zend_DB_Table and CodeIgniter used ActiveRecord.

    Run 1

    Run 2

    Run 3

    Run 4

    Average

    CakePHP

    8.0

    8.0

    8.0

    7.2

    7.8

    CodeIgniter

    98.2

    98.1

    98.3

    98.3

    98.2

    Zend Framework

    33.2

    33.3

    33.5

    33.6

    33.4

  • With APC PHP code cache
    All frameworks used an ORM (of sorts, in the case of CodeIgniter). The Zend Framework used Zend_DB_Table and CodeIgniter used ActiveRecord.

    Run 1

    Run 2

    Run 3

    Run 4

    Average

    CakePHP

    7.3

    7.3

    7.3

    7.3

    7.3

    CodeIgniter

    97.5

    98.0

    96.6

    98.3

    97.6

    Zend Framework

    32.8

    33.3

    31.8

    32.7

    32.7

  • With APC PHP code cache, No ORM
    The Zend Framework used Zend_DB and I disabled ActiveRecord in CodeIgniter. I couldn’t figure out how to disable the ORM in cakePHP so I left it out.

    Run 1

    Run 2

    Run 3

    Run 4

    Average

    CodeIgniter

    106.4

    105.6

    106.3

    106.6

    106.2

    Zend Framework

    42.6

    42.8

    42.9

    43.0

    42.8

  • With APC PHP code cache, No database calls
    This tests the impact of the database call on the overall performance. I sent an empty result set to the view directly from the controller, thus bypassing the model.

    Run 1

    Run 2

    Run 3

    Run 4

    Average

    CodeIgniter

    118.1

    118.3

    117.3

    118.2

    118.0

    Zend Framework

    51.9

    52.1

    52.1

    52.2

    52.0

  • Ruby on Rails comparison
    I added this test to see how the PHP frameworks stcked up against Ruby on Rails. I also used the chance to try out Passenger (mod_rails) and Ruby Enterprise.

    Run 1

    Run 2

    Run 3

    Run 4

    Average

    ROR with 1 Mongrel

    88.1

    85.1

    84.9

    84.8

    85.7

    ROR with Passenger

    85.2

    97.3

    86.3

    84.2

    88.2

    ROR with Passenger and Ruby Enterprise

    89.0

    99.2

    98.9

    98.6

    96.4

Conclusion

CodeIgniter is over twice the speed of the Zend framework in all cases and CakePHP is a lot slower than the other two PHP frameworks. I do admit that considering my experience with CodeIgniter, I might have inadvertently set it up optimally without doing the same to the other two frameworks. I have posted the files and I welcome comments from “the experts”.

Update

We have decided to use the Zend framework so obviously outright performance is not the only factor in the choice of framework. The results we are currently getting are fast enough for us and in our existing application, the database is the bottleneck not the PHP code.

I have also done a few more tests on a production-grade dual-core server with 2Gb of RAM running Centos 5. This time, all benchmarks were from a seperate client computer on the same network. I used the exact same files as the previous results except for CakePHP where I used the recently released RC2. The results follow.

  • No PHP code cache

    All frameworks used an ORM (of sorts, in the case of codeigniter). The Zend Framework used Zend_DB_Table and CodeIgniter used ActiveRecord.

    Run 1

    Run 2

    Run 3

    Run 4

    Average

    Baseline HTML

    3431.2

    3311.8

    3427.7

    3395.0

    3391.4

    Baseline PHP

    1912.1

    1932.3

    1983.3

    1911.3

    1934.7

    CakePHP

    15.6

    15.6

    15.6

    15.6

    15.6

    CodeIgniter

    83.5

    83.0

    82.0

    83.2

    82.9

    Zend Framework

    34.7

    34.6

    34.6

    34.6

    34.6

  • With eAccelerator PHP code cache

    All frameworks used an ORM (of sorts, in the case of CodeIgniter). The Zend Framework used Zend_DB_Table and CodeIgniter used ActiveRecord.

    Run 1

    Run 2

    Run 3

    Run 4

    Average

    CakePHP

    36.0

    36.1

    36.1

    36.2

    36.1

    CodeIgniter

    383.3

    377.9

    371.8

    385.2

    379.5

    Zend Framework

    129.2

    128.5

    129.0

    128.9

    128.9

  • With the Zend Platform

    All frameworks used an ORM (of sorts, in the case of CodeIgniter). The Zend Framework used Zend_DB_Table and CodeIgniter used ActiveRecord.

    Run 1

    Run 2

    Run 3

    Run 4

    Average

    CakePHP

    24.7

    24.8

    24.9

    24.8

    24.8

    CodeIgniter

    255.0

    256.6

    254.1

    253.8

    254.9

    Zend Framework

    83.5

    84.4

    83.8

    83.4

    83.8

Continue reading » · Written on: 09-27-08 · 5 Comments »

Zimplit: Easiest CMS For Simple Websites

Zimplit is a ridiculously easy to use free CMS application which is ideal for simple websites.

There is no standard admin panel. A toolbox appears after logging in & you start editing the website.

Simple CMS

You can add images, links, edit the HTML of a page and copy a page to use it as a template for a new page.

It requires PHP 4.3+ to run & no databases required.

The application needs CHMOD 777 on all files for editing them. Since they are HTML files (except zimplit.php), it does not sound very bad.

Advertisements:
Dreamhost $50 Discount Code: WRD
Provide Support: Live Chat With Your Visitors

Tags: Php

Related posts

Continue reading » · Written on: 09-25-08 · 5 Comments »

Sandbox - What is Sandbox

What is the sandbox?

Basically its a time period that keywords that are competitive must wait in order to achieve results on Google.

Is it real?

Better believe it.

Does the sandbox effect my entire site?

No! It is keyword related only. Say you make a site for home loans. Everything about the site is home loan this and home loan that. But you name your site www. doodypants.com. Now you will rank well for the term “doody pants” because it is not competitive. But you will be in the sandbox for the keyword “home loans”.

What can I do to avoid the sandbox?

This is really not possible. I dont care what trick you have up your sleeve, you will not rank in the first few pages for “home loans” until you did your time with the other children in the sandbox. This just cant and wont happen until they remove it.

To avoid the sandbox though you can target non competitive keywords. By doing this you are able to jump up in the ranks very quickly but chances are those terms have a crappy search per day so it wont be bringing in much traffic.

What can I do while I am in the sandbox?

Just go on about your business. Create backlinks and work on your content.

How long will I be in the sandbox?

The general term that is thrown out there is 9 months. But this is dependant on how competitive your keyword is. The more competitive the longer you wait.

How can I tell if I am in the sandbox?

Doing a search for allinanchor:”keyword” is the best way to tell. My general rule is if you have go through and search page by page looking for your URL and find it then you are not in the sandbox. But if you get tired of looking and your fingers start to hurt and you quit before you find it then you are in the sandbox.

I heard if I build links slowly I wont go in the sandbox

We have all heard this and I dont know who started this whole theory but I personally dont believe in this. I think someone people just tried this out and they started ranking for the keyword they were targetting. What I bet is that keyword wasnt competitive anyways.
_____________________________________________________________Was ist die Sandbox?

Im Grunde ist sie ein Zeitraum, Schlagwörter, die sich warten müssen, um zu erreichen, in den Ergebnislisten von Google.

Ist es echt?

Better believe it.

Ist die Sandbox-Effekt meine gesamte Website?

Nein! Es ist nur Keyword-bezogen. Sprich Sie eine Website für wohnungswirtschaftliche Darlehen. Alles über die Website ist die Heimat dieses Darlehens-und Bausparkassen. Aber ihr Name Ihrer Website www. Doodypants.com. Sie werden nun Rang gut für den Begriff “doody Hosen”, denn es ist nicht wettbewerbsfähig. Aber Sie werden in den Sandkasten für das Keyword “wohnungswirtschaftliche Darlehen”.

Was kann ich tun, um die Sandbox?

Das ist wirklich nicht möglich. I dont care Trick, was sie in petto haben, haben Sie keinen Platz in den ersten paar Seiten für “wohnungswirtschaftliche Darlehen”, bis Sie haben Ihre Zeit mit den anderen Kindern im Sandkasten. Dies kann nur geschehen, und gewohnt, bis sie ihn entfernen.

Um zu vermeiden, dass die Sandbox wenn Sie kann Ziel nicht wettbewerbsfähig Keywords. Damit Sie in der Lage sind, den Sprung in die Reihen sehr schnell, aber die Chancen sind Klauseln über eine crappy Suche pro Tag sind es gewohnt zu bringen und viel Verkehr.

Was kann ich tun, wenn ich in der Sandbox?

Gehen Sie einfach auf über Ihr Unternehmen. Backlinks Erstellen und bearbeiten Sie Ihre Inhalte.

Wie lange werde ich in der Sandbox?

Der allgemeine Begriff ist, dass es weggeworfen 9 Monate. Aber dies ist abhängig, wie wettbewerbsfähig Ihre Keyword ist. Die Wettbewerbsfähigkeit der länger zu warten.

Wie kann ich feststellen, ob ich in der Sandbox?

Dadurch wird eine Suche nach allinanchor: “Keyword” ist die beste Art und Weise zu erzählen. Meine allgemeine Regel gilt, wenn Sie gehen durch und suchen Sie Seite für Seite Suche nach Ihrer URL und finde es dann sind Sie nicht in den Sandkasten. Aber wenn man müde von der Suche und Ihre Finger beginnen zu schmerzen, und Sie hören auf, bevor Sie ihn dann sind Sie in der Sandbox.

Ich habe gehört, wenn ich langsam aufbauen Links I wont gehen in der “Sandbox”

Wir haben alle gehört, und ich weiß nicht, wer diese ganze Theorie begonnen, aber ich persönlich nicht glaube, in diesem. Ich glaube, dass jemand versucht, diese Leute, die einfach nur aus und sie begann Ranking für die Keyword-Targeting sie waren. Ich wette, dass Keyword-wasnt wettbewerbsfähig sowieso.

Continue reading » · Written on: 09-23-08 · No Comments »

Why you can’t make big money with Internet Marketing

I’ve taken a lot of internet marketing courses
and read a lot of ebooks. Most of them talk about
the same :

–Sign up for an autoresponder
–Create a squeeze page
–Create a series of emails
–Rinse and repeat

You can make a LOT of money doing this…don’t
get me wrong.

But you can make a lot more if you start
harnessing offline marketing in your business.

You see, online marketing is preached as the
“holy grail” of marketing.

But ask the big information marketing
powerhouses like Agora, Boardroom, and Weiss
where the REAL money is made. They absolutely
clean house offline…humiliating any online
marketer who comes in their path. 

Here’s the deal: Millionaire internet marketer
Russell Brunson has just released a special
offline report: “The IM Myth” where he shatters
the myth that internet marketing is the “be
all-end all” of marketing.

You can check it out here:

The  “IM Myth”

Believe me, this stuff is the real deal. The
marketers who absolutely annihilate their
competition are the ones that incorporate offline
marketing into the mix.

So check out Russell’s report today before you’re
competition discovers it.

Thanks,

Michael

P.S. One of Russell’s tips he reveals is how he
moved his offline list online. This absolutely
blew me away, and is something I’m going to
implement in my own business immediately.
So get it today, right now, while it’s still on
your mind.

The “IM Myth”

Share/Save/Bookmark

a2a_linkname=”Why you can’t make big money with Internet Marketing”;
a2a_linkurl=”http://www.pikemalltech.com/2007/10/03/why-you-cant-make-big-money-with-internet-marketing/”;

Continue reading » · Written on: 09-22-08 · 30 Comments »

Galeria de sites em css - Css Reboot

Css Reboot

Para quem procura inspiração o CSS Reboot é um prato cheio.

Repleto de magníficos exemplos de sites muito bem elaboados dotados de altas doses de CSS.

Fantástico para os conhecedores da área ou para aqueles, assim como eu, que precisam sempre de uma força para novos projetos.

Espero que gostem!!

Abaixo alguns exemplos:

Site1Site2Site3

Continue reading » · Written on: 09-20-08 · No Comments »