Results 1 to 6 of 6

Thread: SUGGESTION: Naming conventions in RRPlugins

  1. #1
    Raw Wave lostreception's Avatar
    Join Date
    Sep 2004
    Location
    NY
    Posts
    1,806

    SUGGESTION: Naming conventions in RRPlugins

    With the most recent findings that more than one person may be coding a RRplugin with very much the same features i think that all RRplugin Variable, Labels and Indicators should be defined as NAMEOFPLUGIN_thevariable name

    for example GPSGAS_ST1NAME is one of my variables

    certain variables will become common otherwise and begin to cause issues down the line for other RRplugins

    what do you think

    maybe this can be something defined by default guino what do you think
    whatever the name of the pluginis all references in the skin will be preceded by it
    .______
    | '_ |__\___
    [(o)|___(o)] XB
    ._________
    | I__I I_I|_\__I
    [(o)______(o)]b VanPimpin'

    LostReceptions Apps D/L Here

    GPSGasoline- Rewriting

    Draw- SkribblePad for Touchscreens

    iGQwerty-iG3.0 Qwerty Keyboard

    CarPCNetwork

  2. #2
    Low Bitrate festy's Avatar
    Join Date
    Jun 2006
    Location
    Sydney, OZ
    Posts
    109
    Agreed.
    I've already started doing that because I hit issues between 2 of my plugins. I'm not real creative when it comes to var naming
    Is there a limit on label/button length?

  3. #3
    Raw Wave lostreception's Avatar
    Join Date
    Sep 2004
    Location
    NY
    Posts
    1,806
    Quote Originally Posted by festy View Post
    Agreed.
    I've already started doing that because I hit issues between 2 of my plugins. I'm not real creative when it comes to var naming
    Is there a limit on label/button length?
    i havent run into any but i do try to keep my names shorter for that reason
    .______
    | '_ |__\___
    [(o)|___(o)] XB
    ._________
    | I__I I_I|_\__I
    [(o)______(o)]b VanPimpin'

    LostReceptions Apps D/L Here

    GPSGasoline- Rewriting

    Draw- SkribblePad for Touchscreens

    iGQwerty-iG3.0 Qwerty Keyboard

    CarPCNetwork

  4. #4
    RoadRunner Mastermind
    Auto Apps:loading...
    guino's Avatar
    Join Date
    Nov 2004
    Location
    Toronto, Canada
    Posts
    9,817
    there is no naming limit.. it's just a matter of wanting to type such long names..
    Ride Runner RR's Myspace

    "Being happy is not about having what you want, it's about wanting what you have."
    "The best things in life are always free - but that doesn't mean money can't buy you good things."

  5. #5
    SMKFree liquid_smoke's Avatar
    Join Date
    Aug 2003
    Location
    Chicago
    Posts
    4,842
    maybe there should be a "best practices guide" that comes with the sdk, i have no idea if such a thing already does so dont shoot me
    I have similar issues with carweb plugin for RR that uses the same file names as some default RR .skin files which means you have to overwrite them for it to work.
    01101100 01101001 01110001 01110101 01101001 01100100 01011111 01110011
    01101101 01101111 01101011 01100101

    beer replenishment fund
    http://www.mp3car.com/vbulletin/rr-faq/
    mp3car live search

    i have joost invites, just hit me up for one.

  6. #6
    Variable Bitrate Evolution VIII's Avatar
    Join Date
    Dec 2005
    Location
    Miami-Florida-USA
    Posts
    342
    100% agreed.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •