Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. PHP fun

PHP fun

Scheduled Pinned Locked Moved The Lounge
databasejavascriptphpperlhtml
8 Posts 5 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Offline
    J Offline
    Jorgen Sigvardsson
    wrote on last edited by
    #1

    FYI, it was quite easy to get going. And my fear that it would be yet another Perl wolf in sheeps clothing is now gone. I found the PHP language to be quite nice compared to beasts like Perl. Thumbs up! As for my webapp, things are going smoothly. I can now query the database over a couple of parameters (artist, album, genre, year, bitrates, lengths, etc) with simple predicates as "is", "is not", "less than", etc. I'm also planning on implementing a track query language (TQL? ;)) which I'll translate into SQL. I also found out that it was a while since I touched HTML. Around 7-8 months ago. I ended up harrassing Paul on MSN (sorry Paul :)), only to find out that what I wanted to do wasn't possible without clever javascript hacks. After 2 hrs of sheer frustration about the differences between Mozilla/Firebird and IE (:mad:), I gave up and went for a <table> solution. Tomorrow I'll probably be able to create and modify play lists. After that I will have to investigate how I can stream the playlists to a client such as winamp. I'm having fun! :-D ps. And oh yeah, while I hack away, I rip my CDs in the background. Guess if I was schocked to find scratched CDs! :(( I'm very pedantic when it comes to handling CDs. They're my preciousssssss! So I guess someone must've borrowed them at one point and returned them scratched. Next time I lend a CD to someone I will have them sign a contract that requires them to buy me a new CD if it's returned scratched. ds. -- You still have your old friend Zoidberg. You all have Zoidberg!

    J V D 3 Replies Last reply
    0
    • J Jorgen Sigvardsson

      FYI, it was quite easy to get going. And my fear that it would be yet another Perl wolf in sheeps clothing is now gone. I found the PHP language to be quite nice compared to beasts like Perl. Thumbs up! As for my webapp, things are going smoothly. I can now query the database over a couple of parameters (artist, album, genre, year, bitrates, lengths, etc) with simple predicates as "is", "is not", "less than", etc. I'm also planning on implementing a track query language (TQL? ;)) which I'll translate into SQL. I also found out that it was a while since I touched HTML. Around 7-8 months ago. I ended up harrassing Paul on MSN (sorry Paul :)), only to find out that what I wanted to do wasn't possible without clever javascript hacks. After 2 hrs of sheer frustration about the differences between Mozilla/Firebird and IE (:mad:), I gave up and went for a <table> solution. Tomorrow I'll probably be able to create and modify play lists. After that I will have to investigate how I can stream the playlists to a client such as winamp. I'm having fun! :-D ps. And oh yeah, while I hack away, I rip my CDs in the background. Guess if I was schocked to find scratched CDs! :(( I'm very pedantic when it comes to handling CDs. They're my preciousssssss! So I guess someone must've borrowed them at one point and returned them scratched. Next time I lend a CD to someone I will have them sign a contract that requires them to buy me a new CD if it's returned scratched. ds. -- You still have your old friend Zoidberg. You all have Zoidberg!

      J Offline
      J Offline
      JWood
      wrote on last edited by
      #2

      Yes I found the same thing - very easy to learn and use - it is just the right size not too big and not too small. It is server based - so it avoids the problems with different browsers and version on the client side.

      1 Reply Last reply
      0
      • J Jorgen Sigvardsson

        FYI, it was quite easy to get going. And my fear that it would be yet another Perl wolf in sheeps clothing is now gone. I found the PHP language to be quite nice compared to beasts like Perl. Thumbs up! As for my webapp, things are going smoothly. I can now query the database over a couple of parameters (artist, album, genre, year, bitrates, lengths, etc) with simple predicates as "is", "is not", "less than", etc. I'm also planning on implementing a track query language (TQL? ;)) which I'll translate into SQL. I also found out that it was a while since I touched HTML. Around 7-8 months ago. I ended up harrassing Paul on MSN (sorry Paul :)), only to find out that what I wanted to do wasn't possible without clever javascript hacks. After 2 hrs of sheer frustration about the differences between Mozilla/Firebird and IE (:mad:), I gave up and went for a <table> solution. Tomorrow I'll probably be able to create and modify play lists. After that I will have to investigate how I can stream the playlists to a client such as winamp. I'm having fun! :-D ps. And oh yeah, while I hack away, I rip my CDs in the background. Guess if I was schocked to find scratched CDs! :(( I'm very pedantic when it comes to handling CDs. They're my preciousssssss! So I guess someone must've borrowed them at one point and returned them scratched. Next time I lend a CD to someone I will have them sign a contract that requires them to buy me a new CD if it's returned scratched. ds. -- You still have your old friend Zoidberg. You all have Zoidberg!

        V Offline
        V Offline
        Victor Boctor
        wrote on last edited by
        #3

        I have been programming in PHP for the last couple of years. I believe it is a natural choice as a web programming language for C/C++ developers. I also found it to be very extensible compared to languages like Cold Fusion. I played around with ASP, but the PHP c-like syntax made it more appealing to me. I also used PHP for command line scripts (as an alternative to shell/perl scripts) and I found it to be very flexible, specially, when these scripts require access to LDAP/SQL database. Bottom line, I recommend PHP for all those who are thinking of investing sometime in learning a web programming language. phpWebNotes is a page annotation system modelled after php.net. http://webnotes.sourceforge.net/demo.php[^]

        R 1 Reply Last reply
        0
        • V Victor Boctor

          I have been programming in PHP for the last couple of years. I believe it is a natural choice as a web programming language for C/C++ developers. I also found it to be very extensible compared to languages like Cold Fusion. I played around with ASP, but the PHP c-like syntax made it more appealing to me. I also used PHP for command line scripts (as an alternative to shell/perl scripts) and I found it to be very flexible, specially, when these scripts require access to LDAP/SQL database. Bottom line, I recommend PHP for all those who are thinking of investing sometime in learning a web programming language. phpWebNotes is a page annotation system modelled after php.net. http://webnotes.sourceforge.net/demo.php[^]

          R Offline
          R Offline
          Rocky Moore
          wrote on last edited by
          #4

          Victor Boctor wrote: I believe it is a natural choice as a web programming language for C/C++ developers. C#, very natural from a history of C/C++, plus the code behind means your code will scream not having to be parsed every time your get a page request. Rocky Moore <><

          J 1 Reply Last reply
          0
          • J Jorgen Sigvardsson

            FYI, it was quite easy to get going. And my fear that it would be yet another Perl wolf in sheeps clothing is now gone. I found the PHP language to be quite nice compared to beasts like Perl. Thumbs up! As for my webapp, things are going smoothly. I can now query the database over a couple of parameters (artist, album, genre, year, bitrates, lengths, etc) with simple predicates as "is", "is not", "less than", etc. I'm also planning on implementing a track query language (TQL? ;)) which I'll translate into SQL. I also found out that it was a while since I touched HTML. Around 7-8 months ago. I ended up harrassing Paul on MSN (sorry Paul :)), only to find out that what I wanted to do wasn't possible without clever javascript hacks. After 2 hrs of sheer frustration about the differences between Mozilla/Firebird and IE (:mad:), I gave up and went for a <table> solution. Tomorrow I'll probably be able to create and modify play lists. After that I will have to investigate how I can stream the playlists to a client such as winamp. I'm having fun! :-D ps. And oh yeah, while I hack away, I rip my CDs in the background. Guess if I was schocked to find scratched CDs! :(( I'm very pedantic when it comes to handling CDs. They're my preciousssssss! So I guess someone must've borrowed them at one point and returned them scratched. Next time I lend a CD to someone I will have them sign a contract that requires them to buy me a new CD if it's returned scratched. ds. -- You still have your old friend Zoidberg. You all have Zoidberg!

            D Offline
            D Offline
            Davide Pizzolato
            wrote on last edited by
            #5

            Jörgen Sigvardsson wrote: Guess if I was schocked to find scratched CDs! The error correction algorithms implemented to protect the CD data are not so bad. I took an old audio CD, made one big scratch with a nail, and I didn't heard any difference listening that poor CD.

            J 1 Reply Last reply
            0
            • R Rocky Moore

              Victor Boctor wrote: I believe it is a natural choice as a web programming language for C/C++ developers. C#, very natural from a history of C/C++, plus the code behind means your code will scream not having to be parsed every time your get a page request. Rocky Moore <><

              J Offline
              J Offline
              Jorgen Sigvardsson
              wrote on last edited by
              #6

              Yes, that's what I like about ASP.NET. Now, if I could have it run in another webserver than IIS I'd be happy (which also runs on OpenBSD ;)) -- You still have your old friend Zoidberg. You all have Zoidberg!

              R 1 Reply Last reply
              0
              • D Davide Pizzolato

                Jörgen Sigvardsson wrote: Guess if I was schocked to find scratched CDs! The error correction algorithms implemented to protect the CD data are not so bad. I took an old audio CD, made one big scratch with a nail, and I didn't heard any difference listening that poor CD.

                J Offline
                J Offline
                Jorgen Sigvardsson
                wrote on last edited by
                #7

                Davide Pizzolato wrote: The error correction algorithms implemented to protect the CD data are not so bad. I took an old audio CD, made one big scratch with a nail, and I didn't heard any difference listening that poor CD. My ripping program handles it well (EAC). It reads suspicious sectors a multiple times and fixes the data if needed. However, a badly scratched CD takes a looong time to rip. And I love my precious shiny discs, I don't want to see them hurt! :-D -- You still have your old friend Zoidberg. You all have Zoidberg!

                1 Reply Last reply
                0
                • J Jorgen Sigvardsson

                  Yes, that's what I like about ASP.NET. Now, if I could have it run in another webserver than IIS I'd be happy (which also runs on OpenBSD ;)) -- You still have your old friend Zoidberg. You all have Zoidberg!

                  R Offline
                  R Offline
                  Rocky Moore
                  wrote on last edited by
                  #8

                  Jörgen Sigvardsson wrote: Now, if I could have it run in another webserver than IIS Actually you do not have to use IIS, you can use Apache: http://www.covalent.net/products/rotate.php?page=93[^] or you can use the mod_mono and still run on Apache. Go-Mono.org[^] Rocky Moore <><

                  1 Reply Last reply
                  0
                  Reply
                  • Reply as topic
                  Log in to reply
                  • Oldest to Newest
                  • Newest to Oldest
                  • Most Votes


                  • Login

                  • Don't have an account? Register

                  • Login or register to search.
                  • First post
                    Last post
                  0
                  • Categories
                  • Recent
                  • Tags
                  • Popular
                  • World
                  • Users
                  • Groups