feketegy

- friends
340 link karma
52 comment karma
send messageredditor for
what's this?

TROPHY CASE


  • Five-Year Club

Do I really need a framework? by i_am_a_web_developerin PHP

[–]feketegy -6 points-5 points ago

25+ years experience in PHP, a programming language which is 17 years old? :)

PHP Nub Question: Batching and emails by finstartupin PHP

[–]feketegy 0 points1 point ago

Use Gearman for queuing your data instead of a CRON job.

Your favorite development layout by digdanin PHP

[–]feketegy 0 points1 point ago

First learn about version control in general, then get your hands dirty with subversion or git

What is your favorite IDE or Editor? by IrishLaddin PHP

[–]feketegy 2 points3 points ago

TextMate

LAMP stacks for production use? Using PHP 5.4.2, Apache 2.4.2, MySQL 5.5 by deltaravenin PHP

[–]feketegy 2 points3 points ago

You should also try nginx instead of Apache.

Any tips on developing enterprise level software? by nickhelixin PHP

[–]feketegy 2 points3 points ago

The first bottleneck you'll have with the DB layer. Use caching a lot like Memcache and APC.

Keep read/write operations in the code separate so later on you can set up a Master - Slave architecture for your DB. For ex. if you don't keep track of DB connection for reads and writes then later on when you want to separate write operations to another database you'll have to modify your code.

Look at haproxy for the DB load balancer.

Small framework - what do you recommend? by [deleted]in PHP

[–]feketegy -7 points-6 points ago

Kohana and/or WordPress

Mac owners, what's your text editor of choice? by skcin7in PHP

[–]feketegy 0 points1 point ago

TextMate

What do I need to keep in mind when developing an application which needs to be able to run with many different database engines? by aarasmussenin PHP

[–]feketegy 0 points1 point ago

Be careful about different DB engine particularities, like between MySQL and Oracle or MSSQL

Different SQL syntax, extra statements / parameters

Make sure your SQL statements work on every DB engine you will be using.

[Help] Hacked website! Looking for an AV/scanning solution by phpsuxin PHP

[–]feketegy 0 points1 point ago

In this case an antivirus won't help you, although it's good to install one.

ClamAV is pretty good and R-fx Networks' linux malware detect (LMD) is also good.

Also, for your exploit use this nifty PHP script which scans your files for the most common exploits: http://www.php-beginners.com/solve-wordpress-malware-script-attack-fix.html

Version control for PHP? by treefunctin PHP

[–]feketegy 0 points1 point ago

We use git on a private server. It's fairly easy to setup, especially for few developers you can use UNIX users for authentication and SSH for the transport protocol

Problems understanding exceptions? by yargyin PHP

[–]feketegy 3 points4 points ago

Exceptions firstly help you to organize your code better and respect OOP principles.

Different classes of exceptions can be thrown, re-thrown and caught, it all depends on where do you want to handle the exception.

Unlike errors, some exceptions are recoverable such as a database connection is not connecting to the host, you can catch this exception and try to connect again.

Exceptions should only be used when an error occurs, or some kind of exceptional case in your runtime.

Also, it's better to use them in contrast to if statements, because it creates much more concise code and you can't throw the error further from an if statement.

ELIAP (Explain Like I'm an Amateur Programmer) Codeigniter? by mnemoneeein PHP

[–]feketegy 1 point2 points ago

You have valid points, but if you're an experienced developer you'll know that a time will come when you will face a problem that no framework, patterns or best practice will help you solve.

In my perspective to learn a framework before you learn the actual programming language in which it was created is like jumping out of a plane without parachute.

ELIAP (Explain Like I'm an Amateur Programmer) Codeigniter? by mnemoneeein PHP

[–]feketegy 5 points6 points ago

I think you should first learn the basics of PHP and then get dirty with a framework.

Trust me, you'll be better off this way...

10 Questions with Facebook Research Engineer – Andrei Alexandrescu by feketegyin programming

[–]feketegy[S] 2 points3 points ago

It's the same with me...

I feel fine in my cocoon, thank you very much :)

10 Questions with Facebook Research Engineer – Andrei Alexandrescu by feketegyin programming

[–]feketegy[S] 27 points28 points ago

Let me introduce Andrei Alexandrescu andralex, he is an avid Reddit user :)

You can ask him directly if you have further questions that wasn't covered in the interview or if you want to contact him here.

10 Questions with Facebook Research Engineer – Andrei Alexandrescu by feketegyin programming

[–]feketegy[S] 0 points1 point ago

Sure enough, maybe that' why Facebook thought to differentiate memes in their feed :)

Or grouping the news items in the feed, that we're seeing lately. For example "Christmas was mentioned by..." and a bunch of items from your friends grouped together all talking about "Christmas".

10 Questions with Facebook Research Engineer – Andrei Alexandrescu by feketegyin programming

[–]feketegy[S] 3 points4 points ago

Funny stuff with the reposts, but I'm sure Facebook sees a monetization channel in there somewhere

Horrible Experience with Contractor on Odesk. I'm Out Thousands, and Back to Square One. by srncin PHP

[–]feketegy -1 points0 points ago

Just Google the company/freelancer etc. if they don't have any blueprint on the Internet, than it's probably you should stay away...

Unfortunately many people has bad experiences with outsourcing, and yes, if you're not careful you'll get ripped of.

We're doing outsourcing from Romania, and here too are many many companies who does just that...

If you're considering to outsource again, let me know, I can help you with good freelancers / companies from Romania.

To Blog or not to Blog by happycat_ishappyin PHP

[–]feketegy 6 points7 points ago

Totally agree, don't try to reinvent the wheel.

For educational purposes, of course, by all means, create a blogging system, create a forum, create a framework, but bare in mind that a lot of smart people (smarter than you or me) had already created what you're looking for.

view more: next