|
I am just curious but have you used ASP before? If so, how have you found PHP in comparison?
Posting some test messages on your board now btw...
Paul Watson Bluegrass Cape Town, South Africa Christopher Duncan wrote:
Which explains why when Santa asked, "And what do you want for Christmas, little boy?" I said, "A life." (Accesories sold separately)
|
|
|
|
|
I prefer PHP because of its C-like syntax. PHP seems to be a tad more accessible than ASP, too. OTOH, ASP appears to be a more professional technology because it is produced by one company, not hundreds of independent developers.
Example: in PHP, naming conventions are not strictly enforced. There is a function named stripslashes() to remove backslashes from a string. There is also a function named strip_tags() to remove HTML/script tags from a string. Kinda shoddy if you ask me, but everything seems to work just fine.
However, I haven't done enough ASP programming to be able to make an in-depth comparison of the two. As far as I can tell, they are pretty much the same, though I don't know how PHP matches ActiveX controls. I think you'd have to write a custom extension for PHP and then recompile the binaries in order to get the same functionality you would normally get out of an ActiveX control.
Sorry I don't have a better answer than that. Maybe tomorrow. It's bed time now.
Jon Sagara
When I want something, I just go out and buy it. That makes me a go-getter.
-- My sister
|
|
|
|
|
Jon Sagara wrote:
Sorry I don't have a better answer than that
No, your answer was great, thanks
I just wanted a general feeling really.
Paul Watson Bluegrass Cape Town, South Africa Christopher Duncan wrote:
Which explains why when Santa asked, "And what do you want for Christmas, little boy?" I said, "A life." (Accesories sold separately)
|
|
|
|
|
I didn't use ASP much, but I know why I love PHP:
1. Very easy to use if you are familiar with C/C++ syntax.
2. You can program at a very low level (sockets, ..etc)
3. Widely available in hosting companies for no extra fees.
4. Available on both Windows/Linux hosts.
5. Integrates very well with a variety of databases.
6. Can be extended by programming your own extensions.
7. More popular than ASP, see hotscripts poll with about 40,000 voters (http://www.hotscripts.com/polls/results.hsp[^])
8. Open Source
phpWebNotes is a page annotation system modelled after php.net.
http://webnotes.sourceforge.net/demo.php[^]
|
|
|
|
|
Cool!
Now we all have somewhere to go if Chris should happen to nod off once every 100 days and the servers misbehave - a lifesaver
I knew it would end badly when I first met Chris in a Canberra alleyway and he said 'try some - it won't hurt you'..... - Christian Graus on Code Project outages
Damned nice for remote servers where using Enterprise Manager is like wadding through treacle while covered in velcro, upside down -Paul Watson on SQL Server Query Analyser
|
|
|
|
|
The scripts now support Dynamic mode for Netscape 6+, though they have only been tested with NS7.
Jon Sagara
When I want something, I just go out and buy it. That makes me a go-getter.
-- My sister
|
|
|
|
|
I tried to break them but failed.
Live for today and die tomorrow.
|
|
|
|
|
Actually, your little clicky link thing did break them.
Jon Sagara
When I want something, I just go out and buy it. That makes me a go-getter.
-- My sister
|
|
|
|
|
Did it work for you then? I tried them but both of them merely replace the entire window's content rather than perform the actions there were supposed to.
Live for today and die tomorrow.
|
|
|
|
|
That's what it did for me, too, but I want to eliminate that.
Jon Sagara
When I want something, I just go out and buy it. That makes me a go-getter.
-- My sister
|
|
|
|
|
What is the aim of this development? For fun, open source, to be included in CodeProject? .. just out of interest!
I noticed that even if the author unchecks the e-mail on replies checkbox, the e-mail is still mandatory. I guess if this option is disabled, then e-mail should be optional and in this case the [Email to Author] should not be available for this message.
Also when composing the message, there is not URL and URL^.
There is also something that is not feeling right about the images, it is either that the server is slow, or CP has a trick to make it load faster. You may want to consider pre-loading the pictures using JavaScript or providing the width / height if they are not there.
Good work...
phpWebNotes is a page annotation system modelled after php.net.
http://webnotes.sourceforge.net/demo.php[^]
|
|
|
|
|
Victor Boctor wrote:
I noticed that even if the author unchecks the e-mail on replies checkbox, the e-mail is still mandatory. I guess if this option is disabled, then e-mail should be optional and in this case the [Email to Author] should not be available for this message.
I'm just doing a straight port for the time being. Maybe in a future version I will worry about this.
Victor Boctor wrote:
Also when composing the message, there is not URL and URL^.
What browser are you using? Those currently only show up for IE4+.
Victor Boctor wrote:
There is also something that is not feeling right about the images, it is either that the server is slow, or CP has a trick to make it load faster. You may want to consider pre-loading the pictures using JavaScript or providing the width / height if they are not there.
I checked, and the width/height were not specified for any of the smilies. Thanks for catching that. They load much faster now.
Victor Boctor wrote:
Good work...
Thanks.
Jon Sagara
When I want something, I just go out and buy it. That makes me a go-getter.
-- My sister
|
|
|
|
|
Jon Sagara wrote:
What browser are you using? Those currently only show up for IE4+.
I was using Mozillia 1.2.1.
You didn't answer my question about the reason for the development?
phpWebNotes is a page annotation system modelled after php.net.
http://webnotes.sourceforge.net/demo.php[^]
|
|
|
|
|
Victor Boctor wrote:
You didn't answer my question about the reason for the development?
No reason.
Jon Sagara
When I want something, I just go out and buy it. That makes me a go-getter.
-- My sister
|
|
|
|
|
|
Someday, but no time soon. Lots of work left to be done. Definitely NOT GPL, though.
Jon Sagara
When I want something, I just go out and buy it. That makes me a go-getter.
-- My sister
|
|
|
|
|
Hi,
I am working on an "Internet Search Agent" project in my spare time. When finish, this software will help users find information on internet more efficiency.
I cannot offer any money, but I can share registration fee when this software release.
For more information, please contact me:
Kien H. Bui
info@mantiev.com
Thanks,
-BHKien
|
|
|
|
|
Would you describe more about your project?
A. Riazi
|
|
|
|
|
Hello all,
I am requesting your help in testing my newest PHP version of the Code Project forums. You won't find some of the bells and whistles that you're used to (yet), but it's pretty much a 1-to-1 port of the ASP/ActiveX version offered on this site.
So, without further ado, please pound on the forum scripts and do your best to break them. If and when you do, please let me know how you did it. Currently, there is no censoring enabled, so please keep the language clean.
Also, I hesitate to even call this an Alpha release. Please don't expect much polish, but rather a "just-got-it-working" version.
Have fun!
http://www.sagara.org/cpforums[^]
Jon Sagara
When I want something, I just go out and buy it. That makes me a go-getter.
-- My sister
|
|
|
|
|
Jon Sagara wrote:
So, without further ado, please pound on the forum scripts and do your best to break them.
It didn't break for me.
Nick Parker
Not everything that can be counted counts, and not everything that counts can be counted. - Albert Einstein
|
|
|
|
|
Is the dynamic view functional, It didnt work like here on CP.
Cheers
Kannan
|
|
|
|
|
Nope, not yet. That's next on the to-do list.
Jon Sagara
When I want something, I just go out and buy it. That makes me a go-getter.
-- My sister
|
|
|
|
|
This is in regard to my CountryListBox ASP.NET control article here on CP:
http://www.codeproject.com/useritems/CountryListBox.asp[^]
The most intensive part of the search is performed by MaxMind's supplied CountryLookup class (which in turn accesses the GeoIP.dat file -- the IP database). Mind you, this could be ported to SQL Server and searched through SQL statements.
Anyway, I want to get some kind of test with regards to how efficient the file access is, what kinds of loads can be expected etc.
There are two disk I/O intensive operations:
1) Loading of the countries from a text file
2) Search of the GeoIP database
Is there any kind of behind-the-scenes file caching in Windows 2000/XP?
Anyway, I'm going to run some load tests on my machine (only XP Pro -- limited incoming connections I believe?) to see how it handles, but was wondering if anyone had any general strategies as to how to go about testing it? Things to watch out for etc.?
Thanks for your help
--
Paul
"If you can keep your head when all around you have lost theirs, then you probably haven't understood the seriousness of the situation."
- David Brent, from "The Office"
MS Messenger: paul@oobaloo.co.uk
Sonork: 100.22446
|
|
|
|
|
Paul Ingles wrote:
Is there any kind of behind-the-scenes file caching in Windows 2000/XP?
Sure, all versions of the OS maintain a disk cache. If the file isn't too big (like, under 1MB), you can map the whole file into memory at once and then do your searches. That lets the OS handle the entire I/O process, as opposed to reading the file into your own buffer a chunk at a time.
--Mike--
"Adventure. Excitement. A Jedi craves not these things."
-- Silent Bob
1ClickPicGrabber - Grab & organize pictures from your favorite web pages, with 1 click!
My really out-of-date homepage
Sonork-100.19012 Acid_Helm
|
|
|
|
|
I am a few weeks away from releasing a new major release of my bttlxeForum software with (finally) full support for SQL Server amongst others (spell check anyone?), and am looking for as many kind people as possible who can test it for me by installing it themselves. Just follow the link at the bottom of this message and tell me which OS, version of IIS, which database type/s you could test, etc, and I’ll e-mail you the zip file in the next couple of days.
In summary the main enhancements to the current version (1.0.2) are:
- Full SQL Server compatibility out of the box.
- Support for most phpBB themes (it can use the style sheet and images, but not layout information), or of course you can supply your own template as before. Yes, this means no more ugly blue and pink by default!
- A handful of security fixes, some minor and some that I am ashamed even made it through testing on the last version.
- Admin scripts re-haul – visually and functionally.
- Automatic upgrading. The scripts can automatically detect if they are out of date and allow you to download the latest update with one click. Currently you will be given a zip file, but I’m toying with the idea of physically updating the scripts on the client’s server - good or bad idea? It would of course be prompted and explained first.
- Database upgrade script (Access and SQL Server) that will reformat the Forum table’s data to allow for any printable character to be used in the forum names, descriptions, etc. Allows you to keep using existing database.
- Optional spell checker component. Register the component on the server and set a variable and you will be able to spell check your messages before submitting them. Not currently registered on my web server.
If you will be able to install the software on a web server to test it (I highly recommend not using your company’s web server without permission if you want to retain your job), then click here [^] to fill out the simple form.
If you can’t install the scripts I still want to hear from you though – if you can think of features you’d like to see or can spot anything wrong with the user end of the scripts please tell me (e-mail or reply here please don't use the forums themselves till this version is released unless it affects the previous version).
No one gets money and no one gets xmas cards from me, but you’ll get plenty of good karma from helping me and the people out there using these scripts.
David Wulff Born and Bred.
|
|
|
|