Announcement

Collapse
No announcement yet.

SUGGESTION: Naming conventions in RRPlugins

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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
    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?

    Comment


    • #3
      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

      Comment


      • #4
        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."

        Comment


        • #5
          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/forumdisplay.php?f=93
          mp3car live search

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

          Comment


          • #6
            100% agreed.

            Comment

            Working...
            X