Comments on: PHP Like a Pro: Part 5 http://www.terminally-incoherent.com/blog/2013/01/04/php-like-a-pro-part-5/ I will not fix your computer. Tue, 04 Aug 2020 22:34:33 +0000 hourly 1 https://wordpress.org/?v=4.7.26 By: MacHala http://www.terminally-incoherent.com/blog/2013/01/04/php-like-a-pro-part-5/#comment-25505 Sun, 06 Jan 2013 10:31:48 +0000 http://www.terminally-incoherent.com/blog/?p=13454#comment-25505

@ Luke Maciak:
Now it displays correctly, cache on server really seems like culprit…

Reply  |  Quote
]]>
By: Luke Maciak http://www.terminally-incoherent.com/blog/2013/01/04/php-like-a-pro-part-5/#comment-25442 Sat, 05 Jan 2013 07:09:52 +0000 http://www.terminally-incoherent.com/blog/?p=13454#comment-25442

@ MacHala:

Thanks.

Oh, an all 5 parts seem to be listed now. I’m using WP-Cache to… Well, cache the pages so chances are you hit a cached page that was kinda old. Can you try again?

Reply  |  Quote
]]>
By: MacHala http://www.terminally-incoherent.com/blog/2013/01/04/php-like-a-pro-part-5/#comment-25432 Sat, 05 Jan 2013 01:06:59 +0000 http://www.terminally-incoherent.com/blog/?p=13454#comment-25432

Seems that when it’s used properly, PHP isn’t all that bad really… I’m sure all people who’ll possibly maintain my PHP code from now on (even if it’s probably just me) will be very grateful for these posts :) .

as an offtopic sidenote:
when I wanted to check other parts in series and clicked tag “php like a pro”, only parts 1 to 3 were listed – maybe there’s some problem with your database?

Reply  |  Quote
]]>
By: Luke Maciak http://www.terminally-incoherent.com/blog/2013/01/04/php-like-a-pro-part-5/#comment-25414 Fri, 04 Jan 2013 17:17:56 +0000 http://www.terminally-incoherent.com/blog/?p=13454#comment-25414

@ Chris Wellons:

You’re right – it is probably perfectly adequate. I was thinking more along the lines of “lets take this to the next level now” type of thing. I’m kinda building this pastebin as if it was bigger application.

Other than that I guess it is just gut reaction to the “Lite” part of the name. Oh, this DB is lite, let me get the heavy one for production environment. ;)

Reply  |  Quote
]]>
By: Chris Wellons http://www.terminally-incoherent.com/blog/2013/01/04/php-like-a-pro-part-5/#comment-25410 Fri, 04 Jan 2013 15:13:25 +0000 http://www.terminally-incoherent.com/blog/?p=13454#comment-25410

It’s time to move away from SQLite and start using real database.

Do you believe SQLite would be inadequate for your pastebin? I have little experience in this area so this is just an honest question. What does using MySQL get you? According to the SQLite documentation,

SQLite usually will work great as the database engine for low to medium traffic websites (which is to say, 99.9% of all websites).

So unless you intend to become the dominant pastebin website on the Internet I would think you fall into that 99.9%.

Reply  |  Quote
]]>