|
we made one app for windows 8 metro. It is interesting to develop the apps for windows 8....
|
|
|
|
|
Where has all the darkness gone? Appliances, toys, and gadgets fill our nighttime hours with an ever-present glow. It's time to turn off the extraneous illumination. Lite-Brite, making things with liiiiiiiight.
|
|
|
|
|
With the first ultrabook-friendly CPUs from Intel's third generation of Core i-series parts showing up (and being benchmarked), it may be time for a refresher course on what it means to be an ultrabook. Thin, fast... and not from Apple.
|
|
|
|
|
Accidentally leaked blog suggests Win 8 RC ships today. Link.[^]
|
|
|
|
|
|
When I first started using PHP I didn’t like it at all, but I learned it. Do I continue to do work with PHP or do I choose something newer and flashier to get the job done? PHP was my choice and it remains my choice. But why? Here are 10 reasons. It just works.
|
|
|
|
|
wow, I am a c# developer, I could tell 10000 reasons to why NOT to use PHP
We have a phrase in Spanish that fits here(poorly translated):
"Everyone hangs himself with the rope of his choice"
don't know if there is a similar one in English.
Leonardo Paneque
|
|
|
|
|
Hoist with his own petard,[^], or Eating your own dog food[^] perhaps?
Did you ever see history portrayed as an old man with a wise brow and pulseless heart, waging all things in the balance of reason?
Is not rather the genius of history like an eternal, imploring maiden, full of fire, with a burning heart and flaming soul, humanly warm and humanly beautiful?
--Zachris Topelius
Training a telescope on one’s own belly button will only reveal lint. You like that? You go right on staring at it. I prefer looking at galaxies.
-- Sarah Hoyt
|
|
|
|
|
I can't get the site to load. Perhaps the Code Project effect has taken it down. Or maybe the site was written in PHP and it's functioning as should be expected.
|
|
|
|
|
|
First you've got the language itself which is one giant WTF but then you're also faced with the sample code that floats round the web which includes but is not limited to any of the following:
No exception handling
No logging
Suppressing errors using "@" and simply letting the program run on
Scarce use of functions, let alone any proper encapsulation
Code reuse abuse via copypasta
Organisation of code through grouping unrelated bits of PHP into files like "App_Core.php.inc"
Database access code that formats and returns results as HTML
Using crontab to call a PHP script that then uses curl to call another PHP script that resides on an Apache server, because more potential points of failure mean that the chances of something failing at one specific point are greatly reduced
Opening a DB connection at the start of every request and closing it right at the end of every request, regardless of whether you need it or not
Creating a db schema that doesn't actually enforce relationships and implements FK relationships as comma-separated values in the PK table
I'm sure there are actually some very good PHP programmers out there, which begs the question: if they're technically well-versed, what are they doing with PHP?
|
|
|
|
|
I think PHP is just fine for small projects. It comes free with Linux hosting, so it's cheaper than the alternatives.
|
|
|
|
|
Yeah, if you have a small project and you are comfortable with PHP already, sure, go ahead and use it. Although if you are just getting into programming, or just want a DIY project, I think spending your time with Rails or ASP.NET would be a better decision.
ed welch wrote: It comes free with Linux hosting
That's like saying that ASP.NET comes free with Windows hosting. Many hosting providers I've used give you the option of Windows or Linux for the same price.
Be The Noise
|
|
|
|
|
Karl Sanford wrote: Many hosting providers I've used give you the option of Windows or Linux for the same price.
Last time I checked that was not the case
|
|
|
|
|
Go Daddy, basic plan is $5/month, Windows or Linux.
Be The Noise
|
|
|
|
|
That's just one company. There's a lot who offer no Windows hosting at all. In all fairness, some Linux hosting support asp via mono (don't know if that's the same thing though)
|
|
|
|
|
I did a quick search on Google, and all the ones I found had PHP free...as well as Ruby, Perl, and Python (and the first result also offered Windows at the same price as Linux, with .NET support). I think you're have to search hard for a host that offered PHP and none of at least those other 3 options, so I don't think price is a realistic reason.
|
|
|
|
|
But at the same time there are more options available for Linux hosting... so it does work out cheaper.
|
|
|
|
|
Than ASP.net perhaps, but my point is most of the other alternatives are likely just as cheap, so the argument doesn't really work as a general statement.
|
|
|
|
|
Fair enough. I agree in that case
|
|
|
|
|
Ok, this post is flame bait in disguise; some people think it's the best tool in the world for all projects, but as long as they are locked up in the funny house at the end of the day, we tolerate them and move on. PHP has its place, which is not for important or complex projects; it's just a messy scripting language for non-programmers that sacrifices everything to have a low learning curve.
Also, the best PHP devs are the ones who learned real programming in another language and only use PHP for convenience. Being a PHP expert is like being an expert food critic who specializes in recommending the finest fare from McDonalds, Burger King, and Taco Bell.
modified 31-May-12 10:53am.
|
|
|
|
|
jesarg wrote: the best PHP devs are the ones who learned real programming in another language and only use PHP for convenience
"The clue train passed his station without stopping." - John Simmons / outlaw programmer
"Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon
"Not only do you continue to babble nonsense, you can't even correctly remember the nonsense you babbled just minutes ago." - Rob Graham
|
|
|
|
|
Terrence Dorsey wrote: It just works.
agreed.
i use it for all my little web page needs. it works fine for what i need it to do.
|
|
|
|
|
Our intrepid hero is working on a shell script that can tell you the most recent year that a specific date occurred on a specified day of the week—for example, the most recent year when Christmas occurred on a Thursday. There are, as usual, nuances and edge cases that make this calculation a bit tricky... Bashing together a calendar.
|
|
|
|
|
A/B testing is used far too often, for something that performs so badly. It is defective by design. With a simple 20-line change to how A/B testing works, that you can implement today, you can always do better than A/B testing -- sometimes, two or three times better. Statistics are hard for most people to understand, and that's why they avoid this technique.
|
|
|
|