What do I need to learn to do my own Directory script?

4 replies
I'm having a difficult time trying to find the ideal Paid Directory script for a particular industry type directory.

I've spent the better part of the past 7 days (and did not sleep last night) testing demos, downloading a few and having difficulty with installation, scripting errors, and some just plain don't work, or offer no support.

I've only found two that comes close to what I need: One costs over $700 and still needs development to change the design, and the other is perfect in function AND design but is not a paid solution, only free classifieds.

Sooooo, I've come to the conclusion, NOT to hire someone, but to see if I can develop my own solution specifically for my needs, strip away what I don't need, keep only what I do need and add functions that I have not seen anywhere else.

This would just be for me, but then I realize I don't even know where to start looking to learn all of this.

What is it even called when you program a classifieds or directory website? Is it php? Scripting? I didn't have much success looking under "learn how to make your own scripts" as I know this project would involve much more than just "scripting". But I also know it is a little more than just basic php as well. I would have to learn MySQL, etc.

Soooo, where do I start? I'm ready to learn. I know I'm probably getting in over my head but I really do love this kind of stuff. I've engrossed myself in code for the past 7 days and I'm not yet tired of it, so I'm in this for the long haul.

Tell me what I need to do. Where do I start?

I know enough php, html and css to read it, but not to write it from scratch. Here is what I already know: I can change basic css code to change colors, padding, pixel sizes. I can add a few custom lines to css if needed. I know enough php and html to comment-out lines that I don't need and add new div tags. Basic stuff I know, but it has helped me with my own websites the past few years.

So here is what I figure my options are:

1) Learn to take a script and ADD the functions that I need. As in the case of script #2, I could teach myself to add the paid function to the website.

2) Learn to take an already existing code and know where the bugs are that need to be fixed, and be able to change them accordingly, but also be able to change the design put-out as well. For example, one script seemed perfect, I could have easily changed the design within css and added a few new graphics, BUT the very simple function of "adding" a listing didn't work. There was always an error message. Many complained of this in the support forum, but after 6 months there has never been a response from the developer of the script.

3) Learn to build my own directory from the ground up.


So where do I go from here?
#directory #learn #script
  • Profile picture of the author porcupine73
    #1 works, especially if there is something close to what you need but is lacking in a few areas. This method works best if the software was intended to be expanded/modified, as in it has plugins or addons. Then you write your stuff as a plugin or addon for it, and that will simplify things if the software needs to get upgraded in the future.

    #2 works, but 'hacking' any existing software by making code changes right in its core is tricky. Because then you cannot simply upgrade to newer versions later. Plus you may introduce security issues with the modifications.

    #3 is great but obviously is the most time consuming.
    {{ DiscussionBoard.errors[6421899].message }}
    • Profile picture of the author aromasuccess
      I agree it might be tricky altering someone else's code.

      I was just looking at the code of one of my wordpress themes that was broken and there were so many lines that were commented out by the coder. Not sure why, but thought it odd that dozens of lines in one .php file would be crossed out. Not sure if they were corrections or just updates.

      So going in and making changes over top of what he did was difficult. I found that my problem was that I had commented out several lines that had a section that was already commented-out by the coder in another .php file. So it through off the whole website leaving a spare --> everywhere. Took me a while to find it.

      I've been reading quite a bit this a.m. about php and see various platforms like Codeignitor and SimplePHP? If a coder of one of these Classified scripts used something like that how would you know? Or does it really matter what they used?

      One Classified site I looked at needed a Zend "something" installed to unlock it. Would that be the framework that they used? Or is that a totally different Zend?

      What about Ruby on Rails? How does that fit into all of this?

      There's just so many frameworks, codes, platforms, I'm confused about what is what.

      I'm assuming I should learn PHP first? And then choose a framework to learn? What about javascript and jquery. How does that fit into me wanting to learn how to do a directory?
      {{ DiscussionBoard.errors[6422317].message }}
  • Profile picture of the author porcupine73
    Zend has PHP obfuscator so that it encodes the PHP scripts so that you cannot read them. It gets decoded at runtime. If you get something Zend encoded, you will not be able to make any changes of any kind to it because you will not actually have the source code.

    RoR is just another programming language; there are hundreds of programming languages out there. If you go with option #3 you do not have to use PHP, you can use any of many other options.

    Javascript and jquery many sites do you use today; it would be rare to find a modern site that did not use these as well. These run on the client side; your app like the PHP side of things runs on your server.
    {{ DiscussionBoard.errors[6422588].message }}
    • Profile picture of the author ohhugo
      Have you looked a Directorypress?
      It seems quite good and is highly customiazble. They also have a series of other themes: couponpress, classifiedpress, etc.
      Realestatepress also...

      Support is not bad at all and there is an active forum.

      If you want to program something...well go ahead but is your time so non-valuable that you want to
      1. learn to script
      2. make hundreds of trial and errors
      3. waste more time
      4. not have time to promote your directory
      learn to script

      If you want something changed, hire someone to do it. There are some quite competent people who will do everything you need for the price of a book on Amazon.
      {{ DiscussionBoard.errors[6461236].message }}

Trending Topics