#1
  1. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    May 2003
    Posts
    7
    Rep Power
    0

    PHP vs. Cold Fusion


    I am currently deciding which middleware to use for building some large dynamic sites. I am very experienced with both PHP and Cold Fusion and know the benefits/drawbacks of each. The one big thing that I will require to do is to index pdf, doc, txt, html, database data, etc. so it can be searched on by keyword. From my own personal experience I have used a Verity system which I find works very well. Cold Fusion comes with the Verity K2 built right in, however PHP does not. This is very important to have and will be the deciding factor if PHP can't support this kind of system.

    Now for the two big questions:

    1. Is there any way possible to use PHP with a Verity engine?
    2. Is there any similar products such as Verity that do the same sort of thing that work with PHP?

    Any help would be great!
  2. #2
  3. Moderator Emeritus
    Devshed Supreme Being (6500+ posts)

    Join Date
    Feb 2002
    Location
    Austin, TX
    Posts
    7,186
    Rep Power
    2265
    Verity can run independently, really w/in any web server environment. It is not dependant on ColdFusion (for instance, it is also bundled with some Sun products). You would need to contact Verity directly to discuss the options (verity.com). ColdFusion does have the advantage of having Verity tags built-in.

    Yes, there are many search engine alternatives to Verity - from engines built in PHP to Perl, C/C++, Java, as well as outsourced or hosted options; there are even search 'appliances', such as the one you can purchase from google.

    Outside of the Verity question, there are a wide range of factors that can determine what server-side applications development platform you choose. It would help us to know what your other considerations are in order to give you additional advice. Some points to consider are TCO (total cost of ownership), programming experience (either yourself, or whoever you are going to hire/have already hired to program your site), support availability, platform dependence, database connectivity, vendor lock-in, etc.
    DrGroove, Devshed Moderator | New to Devshed? Read the User Guide | Connect with me on LinkedIn
  4. #3
  5. Moderator Emeritus
    Devshed Supreme Being (6500+ posts)

    Join Date
    Feb 2002
    Location
    Austin, TX
    Posts
    7,186
    Rep Power
    2265
    I've moved this thread to "Development Software", since your questions really fall outside the scope of the typical PHP topics.
    DrGroove, Devshed Moderator | New to Devshed? Read the User Guide | Connect with me on LinkedIn
  6. #4
  7. No Profile Picture
    Senior Member
    Devshed Intermediate (1500 - 1999 posts)

    Join Date
    Nov 2001
    Location
    Boston Ma.
    Posts
    1,529
    Rep Power
    0
    Hi


    You pose a question about "PHP vs. Cold Fusion", but your post has nothing to do with your topic! True CF has Verity K2 embedded into it, but this does not make PHP less of a programming language, compared to CF! In PHP, you can design a very powerful indexing system, that can use files or a database to store the indexes! This is not very hard to do, if you design your service with good logic!



    F!
  8. #5
  9. Moderator Emeritus
    Devshed Supreme Being (6500+ posts)

    Join Date
    Feb 2002
    Location
    Austin, TX
    Posts
    7,186
    Rep Power
    2265
    Originally posted by Fataqui
    Hi


    You pose a question about "PHP vs. Cold Fusion", but your post has nothing to do with your topic! True CF has Verity K2 embedded into it, but this does not make PHP less of a programming language, compared to CF! In PHP, you can design a very powerful indexing system, that can use files or a database to store the indexes! This is not very hard to do, if you design your service with good logic!



    F!
    Fataqui has an excellent point. While Verity may be ideal for flat files - such as HTML, PDF, Word, etc - it does not function as well in environments where pages are dynamically generated from content stored in a database. For all intents and purposes, even if you're not planning on developing a dynamic website now, it will most likely need to happen in the near future. At that point, use of Verity becomes less ideal as the engine for your search; you are most likely to need a custom-built solution which can handle the specific way your website delivers content. In that sense, PHP does indeed offer much more powerful coding capabilities than CFML (as Fataqui has already pointed out ).
    DrGroove, Devshed Moderator | New to Devshed? Read the User Guide | Connect with me on LinkedIn
  10. #6
  11. Capt'n
    Devshed Novice (500 - 999 posts)

    Join Date
    May 2001
    Posts
    567
    Rep Power
    15
    Have you ever looked at phpWebsite? I know its kinda of a generic CMS system, but it already has a build in search engine, document manager, and several other features that are worth considering before starting from scratch. The FatCat system also makes searching by subject, and keywords are possible I believe.

    Its worth a look.

    As far as a custom system goes, my suggestion is forget PHP and CFML unless you have already decided how the infromation is going to be stored.

    My $.02 is to use a database like MySQL for medium/medium large jobs and Oracle or DB2 for extremely large database work. If you would choose say MySQL, then PHP would make a logical choice.

    Again I don't know that much about the project in terms of Scale, but I do know one client of mine is using phpWebsite to manage a very active intranet site that is updated almost daily with news/info documents, etc. and extremely happy with the system and has only had minor compliants from staff. Most relating at "how dull the theme looks".

    Again, its not the tool for every job, but might be worth considering.
  12. #7
  13. Banned (not really)
    Devshed Supreme Being (6500+ posts)

    Join Date
    Dec 1999
    Location
    Brussels, Belgium
    Posts
    14,642
    Rep Power
    4492
    [Title Fixed]

IMN logo majestic logo threadwatch logo seochat tools logo