If you know the basics of multitier programming, you can make wonders with PHP. I built myself an MVC framework based on a php-based template engine (search 'Beyond the Template Engine' in sitepoint.com).
To add a new module, I just copy/paste from a previous module.php. The business tier functions are in the business subdirectory, it's just a matter of creating a new lib and add the corresponding functions.
The data-tier uses a (secured) derivative of PHPLib's dbmysql.php (there's a subclass for reading, and a subclass for reading/writing).
And what can I say about the templates? They just get the $data array. The greatest virtue of PHP IMO, is its recursive associative arrays, they're wonders for multitier!. The rest of formatting is a bunch of heredocs, sprintf's and echo's.
As for the always-used functions, i.e. security, privileges, etc, they're in the core/ subdirectory, and called by prepend.
It took me a couple of weeks to write it (after having studied multi-tier programming of course), and slowly i've been making modifications. I've added web setup and table upgrading(installation), database backups, a user log, upload/download logs.
Now, not everything is perfect. There IS a downside to using MVC in PHP: Adding new modules is so easy it gets boring.:)
See, It's not that there aren't ways to program a good e-business app using PHP. To quote Guybrush Threepwood, "Yes, there are. You just never learned them."
And by the way, does anyone have a larger version of the Gates-Borg picture? I think it'd make a nice addition to my desktop and cell phone's wall papers.
Why not show them what they can achieve with the calculator rather than how to achieve what the calculator does?
I recall a novel about a guy from today arriving to the future.
The world had become dependant on calculators, and nobody knew the basics operations. So this guy comes, shows them how to do a square root or division, and the people were amazed at him knowing the secret knowledge. They would test his assertions on the calculators, and say "hey, it works!"
Besides - calculators in tests are a trap: At first they help you with the basic knowledge that you SHOULD have. But they WON'T help you doing fraction stuff with polynomials (unless they're really advanced calcs). And when you NEED the basic knowledge, you don't have it.
Nice aid, calcs! Thank you for crippling our brains.
Anyway, if this special test requires the hand-and-paper knowlege, why not splitting in two?
Tests that require pen-and-paper (NO calcs allowed), and tests that require more advanced knowledge (calcs allowed).
And what we have here? The "most spammed person in the world" becomes "the most slashdotted person in the world" who used "the most over-used headline cliché in the world". Ladies and Gentlemen, we have a winner!:D
So far the main advantage of Firefox over IE6 is its improved security model. So, if IE does get secure, what will be the reason for the average Joe User to switch?
Like, "IE is safe now, why should I switch? It's what I use, and look! It has tabbed browsing".
What is the chance of coincidence of a company president being here at just the right time, to tell everyone about his company??
He's an independent music distributor (by Internet!). Ergo, he is a nerd (Slashdot: News For nerds). Q.E.D.
Besides, the possibility of the title catching his eye isn't far fetched - and remember that in Technologyreview.com there are RSS feeds from slashdot.
So I'd say this guy's apparition is pretty logical, actually. You can safely put down your tinfoil hat now:)
tell that to the guys in Akihabara.
Just ban software patents, period! Is that too hard?
Everyone's invited to become Mexican :) You give the money, we give the democracy.
If you know the basics of multitier programming, you can make wonders with PHP. I built myself an MVC framework based on a php-based template engine (search 'Beyond the Template Engine' in sitepoint.com).
:)
To add a new module, I just copy/paste from a previous module.php. The business tier functions are in the business subdirectory, it's just a matter of creating a new lib and add the corresponding functions.
The data-tier uses a (secured) derivative of PHPLib's dbmysql.php (there's a subclass for reading, and a subclass for reading/writing).
And what can I say about the templates? They just get the $data array. The greatest virtue of PHP IMO, is its recursive associative arrays, they're wonders for multitier!. The rest of formatting is a bunch of heredocs, sprintf's and echo's.
As for the always-used functions, i.e. security, privileges, etc, they're in the core/ subdirectory, and called by prepend.
It took me a couple of weeks to write it (after having studied multi-tier programming of course), and slowly i've been making modifications. I've added web setup and table upgrading(installation), database backups, a user log, upload/download logs.
Now, not everything is perfect. There IS a downside to using MVC in PHP: Adding new modules is so easy it gets boring.
See, It's not that there aren't ways to program a good e-business app using PHP. To quote Guybrush Threepwood,
"Yes, there are. You just never learned them."
And by the way, does anyone have a larger version of the Gates-Borg picture? I think it'd make a nice addition to my desktop and cell phone's wall papers.
4 356df7
Sure!
http://carcino.gen.nz/images/index.php/04980e0b/4
It's not like Samba could be commercially harmed by Microsoft's actions.
Oh SURE they can! They can simply sue Samba devs for "using our specifications illegally as stated in blahblahblah".
The samba devs would have to prove that they did NOT in fact read the specs. Frankly I don't know how this is different from software patents.
Why not show them what they can achieve with the calculator rather than how to achieve what the calculator does?
I recall a novel about a guy from today arriving to the future.
The world had become dependant on calculators, and nobody knew the basics operations. So this guy comes, shows them how to do a square root or division, and the people were amazed at him knowing the secret knowledge. They would test his assertions on the calculators, and say "hey, it works!"
Besides - calculators in tests are a trap: At first they help you with the basic knowledge that you SHOULD have. But they WON'T help you doing fraction stuff with polynomials (unless they're really advanced calcs). And when you NEED the basic knowledge, you don't have it.
Nice aid, calcs! Thank you for crippling our brains.
Anyway, if this special test requires the hand-and-paper knowlege, why not splitting in two?
Tests that require pen-and-paper (NO calcs allowed), and tests that require more advanced knowledge (calcs allowed).
Ta-da!
Who the heck posted this "insightful"? An insight is an observation, but we're getting USEFUL INFORMATION here.
Why don't you submit a FEATURE REQUEST for it? That's what they're for, after all :)
but now he's the most slashdotted person in the world
:D
Hmmm...
* "World's biggest hacker"
* "World's Fastest Inkjet Printer"
And what we have here? The "most spammed person in the world" becomes "the most slashdotted person in the world" who used "the most over-used headline cliché in the world".
Ladies and Gentlemen, we have a winner!
[note to mods: If you don't get the joke you should read the other headlines on today's index]
;-)
Should read:
"World's fastest Linux-based laser trap"
http://redferret.net.nyud.net:8090/?p=5291
.nyud.net:8090 after the domain name. Is that too hard?
I wonder why the story links don't use it BY DEFAULT? Just add
So far the main advantage of Firefox over IE6 is its improved security model. So, if IE does get secure, what will be the reason for the average Joe User to switch?
Like, "IE is safe now, why should I switch? It's what I use, and look! It has tabbed browsing".
Ideas, anyone?
Please keep a large banner saying "No, this is NOT the time traveler's conference, thank you".
Because, with all those outfits, the people we invited could get confused, youknow.
Look, we know what you're trying to do. You're trying to erase our memory using one of those neura*FLASH*
Huh?
By any chance, was his alias "kingpin"? Now THAT would be BIG. :)
We won't need CherryOS! :D
Please enlighten me guys. Are there linux viruses or what? Or maybe McAfee will scan windows (WINE) binaries or something?
What is the chance of coincidence of a company president being here at just the right time, to tell everyone about his company??
:)
He's an independent music distributor (by Internet!). Ergo, he is a nerd (Slashdot: News For nerds).
Q.E.D.
Besides, the possibility of the title catching his eye isn't far fetched - and remember that in Technologyreview.com there are RSS feeds from slashdot.
So I'd say this guy's apparition is pretty logical, actually. You can safely put down your tinfoil hat now
There seems to be a bug in slashdot submitting AC posts to distinct topics. Please fix this! :(
This gettho will die out in... like... one generation ;)
Not if they clone themselves and create fruit-named female androids to replace women ^_^
With monsters so hideous (because of their insulting irrealism) as Godzilla,Megaguirus or the power Zords appearing in TV, I wonder the same thing.
and feudal superstitions and other harmful information that has seriously poisoned people's spirits
Keep in mind that christianity is still seen as superstition in China.
"Religion is the opium of the people".
Mao Tse-Tung.
No wonder they put superstitions (religions?) and poison in the same sentence.
This is the first time IN MY LIFE that I see a browser add-on INCREASING its security, and not otherwise.
(hypothetical) Secunia advisory
blablablah... bug.
Versions affected: Firefox v1.04 etc....
Workaround: Install the tabbrowser preferences extension.
w00t.
*JUST* when KHTML complies with ACID2, after a giant effort of hacking and trying to understand the tarballs' code, and look!
There they come! It's the cavalry, and they got a CVS repository! OK we're ready! Where are the bad guys now?
*Tumbleweed passes by*