Check coding guidelines?

Hi,
as a java and python developer I'm used to check coding
guidelines (semi-)automatically with tools like checkstyle or
pylint. But I haven't found a similar tool for ActionScript. I did
find coding guidelines like
http://blog.dclick.com.br/2007/02/13/adobe_flex_coding_guidelines_english/
by Fabio Terracini, but no tools.
Does a lint-/checkstyle-like tool exist? Do I use the wrong
search criteria at google/google-groups? Has someone "hacked" a
java/javascript-tool to support ActionScript?
Thanks in advance for your help.
Uwe

There is not checkstyle tool yet for ActionScript 3 out
there.
For coding quidelines, there is no strict coding quidelines
imposed on developers by Adobe
You already found the only known publicly shared coding
quidelines made by one of the commercial company..
Within my company, we had created a set of coding quidelines
that is partly documented on internal Wiki, but we never had taken
care of making those code guidelines public...
Sorry for the little developement in this area, but AFAIK
that the way it is currently in ActionScript 3 world...

Similar Messages

  • Coding Guidelines In SapScript For Jetforms Printing

    For the last 10 days I am searching in google & SDN for help related to JETFORM coding in SAP SCRIPT. I have seen some basic syntaxes like ^GLOBAL ^COMMENT ^COMMAND ^FIELD. But I dont know why this commands are used & how it related to Jetform Design.
    Can anyone provide me with a material for coding guideline for JetForm using SAP SCRIPT ?
    Please help...
    Thanks
    Malaya
    Edited by: Thomas Zloch on Jun 14, 2011 9:29 AM - SMS speak corrected

    could you pls. tell me why this is required. Can not ABAP fulfill the requirements.
    Please explain the requirement.
    check the following thread. hope this will solve ur prob.
    [what is a jetform;
    cheers
    Edited by: Nishant Kashyap on Jun 14, 2011 12:48 PM

  • Where is coding guideline for SharePoint 2013 available?

    Can any one suggest where is coding guidelines and best practices for SP 2013 development is available?

    Hi,
    According to your post, my understanding is that you want to know the best practices for SharePoint 2013 development.
    There are some articles cover best practices targeted towards software developers in SharePoint 2013, you can refer to them.
    http://social.technet.microsoft.com/wiki/contents/articles/13373.sharepoint-2013-what-to-do-farm-solution-vs-sandbox-vs-app.aspx ,
         discusses when to use farm solutions, sandbox solutions, or sharepoint      apps.
    http://social.technet.microsoft.com/wiki/contents/articles/13637.sharepoint-2013-best-practices-what-client-api-should-you-choose-when-building-apps.aspx ,
         guidelines to help you pick the correct client API to use with your app.
    http://msdn.microsoft.com/en-us/library/jj164060(v=office.15).aspx       
    http://social.technet.microsoft.com/wiki/contents/articles/16343.sharepoint-2013-best-practices-setting-up-a-dev-environment-for-windows-apps-and-sharepoint.aspx ,
         describes how to set up a dev environment needed for creating Windows Apps      that leverage SharePoint.
    http://social.technet.microsoft.com/wiki/contents/articles/16353.sharepoint-2013-best-practices-working-with-connection-strings-in-auto-hosted-sharepoint-apps.aspx ,
         discusses how to deal with connection strings in auto-hosted apps.
    For more reference:
    http://social.technet.microsoft.com/wiki/contents/articles/12438.community-best-practices-for-sharepoint-2013.aspx
    Thanks & Regards,
    Jason
    Jason Guo
    TechNet Community Support

  • Coding guideline in oracle on demand

    Let me know what are the coding guidelines to be followed in oracle on demand while developing project as we follow in other technologies

    I would recommend posting this question in the CRM On Demand Integration Development forum. Thanks for your help.

  • Secure coding guidelines

    We were able to get some of the secure coding guidelines documents for ABAP and Java which are dated 2006 from SDN. If there are any later to these releases, please let me know.
    thanks & Regards,
    S. Raj

    Few tips are:
    - you can follow some OOPs design patterns in ADF.
    - Create shareable components as bounded task flows and reuse them using ADF library jar
    - create separate projects for JavaScript, css, images or deploy them to web server virtual directory.
    - MDS can help you in many areas for customization and personalization
    - Over use of CSS and javascript could slow the performance as well.
    - Don't play with oracle internal libraries ( i have seen many cases causing bugs in productions later)
    and last not least...........don't re-invent the wheel if declarative solution is available use it ;)
    hope it helps
    Baig

  • CFC's - Question about coding guidelines

    I have a question about the following section in the
    CF
    Coding guidelines
    quote:
    {cfmxroot}
    ---wwwroot/ » web-accessible .cfm pages and .cfc Web
    Services
    ---extensions/
    --------components/ » tree for .cfc files
    --------customtags/ » tree for .cfm custom tags
    --------includes/ » tree for include files
    ---config/ » tree for configuration files
    This implies that we have two Custom Tag Paths set up in the
    CFMX Administrator:
    {cfmxroot}/extensions/components/
    {cfmxroot}/extensions/customtags/
    We also have mappings for the root of the includes tree (for
    cfinclude) and the custom tags tree (for cfimport):
    /cfinclude » {cfmxroot}/extensions/includes/
    /customtags » {cfmxroot}/extensions/customtags/
    1. Why would you want to add both a custom tag path
    AND a mapping for " {cfmxroot}/extensions/customtags/"?
    2. The guidelines seems to imply you should use a custom tag
    path for components, instead of a mapping. If the "components"
    directory is already outside the webroot, then adding a CF mapping
    shouldn't make it web accessible, right? So is there any benefit to
    using a custom tag path versus a mapping?

    It is up to you where you put your components and where you
    put your custom tags. The standard way, as I know it, at least, is
    to create a mapping for your cfc directory on the
    Mappings page of the Coldfusion Administrator and to
    register the path to your custom tag directory on the
    Extensions/Custom Tag Paths page. In answer to your first
    question, you will also need to create a mapping for a custom tag
    directory if you intend to call tags using the template-attribute
    of cfmodule.
    Coldfusion considers the directory-path that you register on
    the
    Extensions/Custom Tag Paths page an absolute path. That is
    what enables you to call a tag directly by name on any page of your
    application, for example,
    <cf_myCustomTag>.
    One consequence is, if you stored a component myComp.cfc in
    such a directory, you could instantiate it on any page simply by
    running
    <cfset myObj = createobject("component","myComp")>
    However, this doesn't offer anything a mapping wouldn't. So,
    in answer to the second question, I don't think one should use a
    custom tag path for components. Mixing one's custom tags with one's
    components only produces an oil-plus-water structure.

  • Coding guidelines

    Hi,
    Is there a std for coding in test stand?
    so we have any coding guidelines to be followed?
    thanks in advance
    bharathi
    Solved!
    Go to Solution.

    Hi bharathi,
    Here are links to the TestStand best practices - This may not be exactly what you're looking for, but it's the closest I know to a coding style guide.
    NI TestStand Advanced Architecture Series (in Print)
    and here's the web location that this was derived from:
    NI TestStand Advanced Architecture Series (website)
    While this doesn't talk to a style like a C/C++ or .NET source code style guide does, there's a lot of valuable information that you could leverage in creating your own TestStand coding style guide (if that's what you're looking for).
    Hope this helps.
    -Jack

  • Check programming Guidelines in Extendec Syntach Check (SLIN)

    Dear all
    I found that in transation SLIN you can check (ECC 6.0) the source against Programming Guidelines.
    There is no help for this function. Against what exactly it will check?
    Herbert

    Hi,
    slin nothing but   --- ABAP program extended syntax check
    it can check the
    1.call function interfaces
    2.external program interfaces
    3.screen consistency
    4.authorizations
    5.messages
    6.programing guidelines
    7.syntax check warnings
    8.problematic statements
    9.superfluous statement
    10.cross-program perf-intens tests
    Regards,
    Madhu

  • Secure Coding Guidelines for ADF / WebCenter

    Hi,
    Our team is new to ADF and WebCenter development. Does Oracle have a security 'best practices' document for ADF developers?
    We already have a few generic 'secure coding' document, which recommends things like input validation, avoiding SQL injection, etc. However, we do not have any recommendations specific to ADF.

    Few tips are:
    - you can follow some OOPs design patterns in ADF.
    - Create shareable components as bounded task flows and reuse them using ADF library jar
    - create separate projects for JavaScript, css, images or deploy them to web server virtual directory.
    - MDS can help you in many areas for customization and personalization
    - Over use of CSS and javascript could slow the performance as well.
    - Don't play with oracle internal libraries ( i have seen many cases causing bugs in productions later)
    and last not least...........don't re-invent the wheel if declarative solution is available use it ;)
    hope it helps
    Baig

  • Check report guidelines

    Hello All,
    We are working on BI Publisher version of the check report. Payment process program is kicking Format Ever Green program. After registering the data definition, template, I still see the output as XML. So I have modified the after report trigger to call 'xml report publisher' program.
    Am I following the correct process or can we directly generate the PDF output, with out calling 'xml report publisher' program? Please confirm.
    I know it is a some basic question, but struggling for the correct approach,

    Hello All,
    I just searched and found that we need to apply "4303528 11.5.10.2: XML Payment format does not use default template" patch.
    But the same program 'format evergreen' is used by UK, US, CA countries. And UK paper size is different from US one. So we need to create different template for the three countries. How can we dynamically select the templates( and generates the PDF output in one step) or do we need to handle this in After report trigger only? Please advice...

  • Abap coding  standards

    hi  can u tell me the standards that are followed in a company  for ABAP CODE.

    There are some coding guidelines need to be followed during coding . here are a few ones
    Avoid dead-code
    Remove unnecessary code and redundant processing
    Spend time documenting and adopt good change control practices
    Spend adequate time anayzing business requirements, process flows, data-structures and data-model
    ensure careful usage of  "OR", "NOT"  and value range tables (INTTAB) that are used inappropriately in Open SQL statements.
    f you are interested in exactly one row of a database table or view, use the SELECT SINGLE statement instead of a SELECT * statement.  SELECT SINGLE requires one
    communication with the database system whereas SELECT * requires two.
    It is usually faster to use the INTO TABLE version of a SELECT statement than to use APPEND statements
    f you want to find the maximum, minimum, sum and average value or the count of a database column, use a select list with aggregate functions instead of computing the aggregates within the program.   The RDBMS is responsible for aggregated computations instead of transferring large amount of data to the application. Overall Network, Application-server and Database load is also considerably less.
    If you process your data only once, use a SELECT-ENDSELECT loop instead of collecting data in an internal table with SELECT ... INTO TABLE.  Internal table handling takes up much more space
    Using nested selects is a technique with low performance. The inner select statement is executed several times which might be an overhead. In addition, fewer data must be transferred if another technique would be used eg. join implemented as a view in ABAP/4 Repository.
    Whenever possible, use array operations instead of single-row operations to modify the database tables.
    Frequent communication between the application program and database system produces considerable overhead.
    some best practices are :
    1. Use of local variables instead of global variables - will save memory. Use global variables ony when absolutely necessary!
    2. (a.) Do not change variables in the "using", use the "changing" parameters instead for this purpose
        (b.)        "tables" parameter is now obsolete - do NOT use
    3. Inside subroutines (forms), the using and changing parameters should have reference to a "TYPE"
    4. NO literals, instead use constants / text elements - as the case may be.
    5. All constants should be defined globally.
    6. Query on database tables within: loop.... endloop - to be strictly avoided
    7. Internal table definition technique - using DDIC Structures and DDIC Table Types. Avoid defining local types in programs. Do not  define internal tables with header line.
    8. Initialize, clear variables/work areas before internal table reads.
    9. Sort internal tables before using "delete adjacent duplicates".
    10. Use the "binary search" option while reading internal tables, and sort the internal table prior to read.
    11. Check that the internal table has entries (not initial) before using "for all entries" option in select statements.
    12. sy-ucomm = 'ONLI'?? Is this to check if program executed online or in background? Use the sy-batch variable instead
    13. Use function modules to read: Customizing and Master tables. Only Transaction tables to be directly queried.
    14. SY-SUBRC check is a MUST after all function calls; and please handle the exception suitably.
    15. Use of field symbols with internal tables [LOOP at itab ASSIGNING <fs>] is always a preferred/better option, as against loop at itab  into <WORK_AREA>.
    16. Use of too many includes ?? (We could use: one include for global data declarations, one include for class methods, one include for  subroutines and probably one more include for Application logs)
    17. No dead code please - remove if not required.
    18. Use of case.... endcase, is preferred instead of: if.. elseif.. endif.
    19. Try NOT to use "into corresponding fields of" or "move corresponding" - these are detrimental from a performance perspective
    20. Instead of "select single", it is better to use "*_SINGLE_READ" function modules if available. Check always for availability of  standard function modules for data retrieval from Master / Customizing tables.
    21. Use of Memory ID's to be strictly avoided, as these could be overwritten globally.. Please write explicit GET, SET function modules  for this purpose.
    22. Locking the database before direct table updates is mandatory, database updates should always be in -> 'Update task' function  modules.
    23. After BAPI calls, use BAPI_TRANSACTION_COMMIT. Do NOT call BAPI_TRANSACTION_COMMIT in a loop.
    24. Case 'X'. when <variable> ???? - refrain from using in this manner
    25. Provide adequate inline comments, explaining what the piece of code is supposed to do / intended to achieve.
    Message was edited by:
            Sridhar Srirama

  • Best coding practice

    Not a big deal here but I'm curious what others think about
    this. A fellow programmer and I were talking about this and
    couldn't come to a conclusion.
    Basically is it better to use a NOT EQUAL TO or an EQUAL TO?
    For instance if you have a list of names and you want all
    "BOB"s to be treated one way and all others to be treated another.
    Would it be better to say
    <cfif FNAME EQ "BOB">
    blah blah
    <cfelse>
    woo woo
    </cfif>
    or
    <cfif FNAME neq "BOB">
    woo woo
    <cfelse>
    blah blah
    </cfif>

    quote:
    Originally posted by:
    MaryJo
    quote:
    Originally posted by:
    MikerRoo
    Good grief, you are ALL wrong --
    especially Mary Jo for introducing a barely relevant tangent
    to the thread and getting it wrong to boot!
    First of all, when someone asks what is best for a string
    comparison, mentioning Compare and CompareNoCase is *hardly*
    irrelevant. Second, I was NOT wrong. Since the discussion was
    revolving around performance that was just what I mentioned. That
    doesn't make me
    wrong just because there are reasons to use it other than
    just that. If you want to debate if there's any performance gains,
    well that comes right out of the CFMX coding guidelines at
    Livedocs, which say it is "significantly faster". I'm assuming Sean
    is correct in stating this, I'm not really in the mood to test it
    myself, but feel free to add your comments there and tell him he's
    wrong if you disagree.
    http://livedocs.macromedia.com/wtg/public/coding_standards/performance.html
    Of course, you can debate if the gain is that big a
    deal...which is why I phrased it the way I did (i.e. "If it's
    processing time you care about....") Again, that's what the bulk of
    the debate was on, so that was what I was addressing.
    No one asked what was the best for string comparison. YOU
    raised that issue.
    Your stated reason, (for performance) has not been true since
    CF5.
    Up until then, the question seems to be as much about style
    as anything else.
    That page you linked says that
    CompareNoCase() is "faster" than "is not".
    (1) If you actually run the tests, you'll see that the
    difference is less than the test variation (but statistically
    real).
    (2) This says nothing about compare() vs "IS". Here the
    performance is the same.
    (3) CompareNoCase is not functionally the same as the most
    commonly needed string comparison (case tolerant), so that is
    irrelevant for most uses anyway.
    Run the tests yourself and see that I'm right.
    In fact,
    Sean even admits, that the real reason to use compare() is
    accuracy, at the bottom of that page!
    So, my assessment was right. You were right mostly for the
    wrong reason and the post was barely relevant.
    Ironically, if you had found and linked that page to begin
    with, it would have made one more case for avoiding negative logic
    ("IS NOT").

  • XQuery Coding Standards

    Are there any XQuery coding standards defined for use in OSM?
    Or does Oracle provide any such standards for naming conventions, variable names, the case-sensitivity etc?
    Or are the standards similar to what we follow for Java?
    Please help.
    Thanks in advance!

    OSM does not dictate a specific set of coding guidelines for XQuery, just as it does not for Java. Normally coding guidelines (whether for Java, XQuery or other technologies) would be defined for a given project based on the best practices and experiences of the System Integrator or Service Provider that is implementing OSM.
    Given that XQuery is an industry standard language, we would encourage you to follow best practices established in the industry.
    Generally, for XQuery code that the OSM product team writes we follow Java style naming conventions and style wherever applicable. This is a convention we find reasonable given our team routinely writes and reviews both XQuery and Java code so having the same naming convention makes sense.
    If there are are additional more specific questions you have on this topic feel free to ask them and we'll do our best to help you.
    Regards,
    Brian Dueck
    VP - Product Strategy and Design
    Oracle Communications
    Edited by: brian.dueck on Jul 4, 2011 1:59 PM

  • About authority check~

    Hi!
    Let me ask something.
    As usual, when we call a program using T-CODE in command field, R3 checks the authority. even BDC prog.
    But, in program text, I programed like this. "CALL TRANSACTION XXX".
    the system doesn't check authority.
    for example, A user type 'XD01' in command field, system denyed. but, A user call 'XD01' through my progam. system admitted it. and in my program, I coded like this "CALL TRANSACTION 'XD01'.
    I don't know why... Have you ever seen like this?
    If sb know this, please let me know! what shold I do for it!
    sorry for my poor english, I need your help~~

    Hi Kyung Woo,
    When the user enters the transaction code, let's say XD01, the R/3 system would get the authorization information as defined in the user's profile and check if the authority object required to execute the transaction exists in the user's profile. This is just a preliminary check. It prevents the non-technical users from accessing the transaction.
    But when it comes to a technical user like an ABAP Programmer, almost anything can be done within the R/3 system. For example, you can just write a small program of about a few lines and cause serious damage to the entire R/3 System.
    The point is that when you use the CALL TRANSACTION statement, it means that you are writing the program to accomplish some functionality. The preliminary check is bypassed in this case. But if there's an authority check coded into the transaction, then even the CALL TRANSACTION method won't work.
    But remember one thing - so long as you are an ABAPer, with the authorization to create a program in SE38 and execute it, along with the authorization for Debugging, you can do almost anything within the R/3 system.
    It is upto the programmer and the company to take care of any such mishaps happening. Anyways, when it comes to the Production system, your hands are all tied up. you would never have the authorization to do any development directly in there. If you do, then somebody is in very deep trouble !!:-).
    As far as the Development system is concerned, nobody really bothers too much about them, because they do not affect any real-time data.
    Regards,
    Anand Mandalika.

  • Coding mask - mask id

    Hi All,
    I have configured new coding mask 00-XXXX-XXX-XXXX at client 100. Where 00 is PrjID 
    I have copied that TR to client 300 dev.
    I am able to see the coding mask in dev server. But when I tried to create the project with the coding mask. I am not able to see the format of my complete coding mask in project definition. The format should display beside Mask ID
    I am not able to create project as per my coding mask
    Please find the attached screen shot
    Please  help me
    Thanks
    Praveen

    Hi,
    can i create a coding mask without giving prjid id it possible.
    Please let me know what is the solution.
    No, I don't think its possible because when you create a Project, system check available coding mask with the help of PRJID. If you don't give then how system will check coding mask.
    As a suggestion, you should create PRJID as your client company shortcode and rest in coding mask section, start with your year and so on.
    e.g. If you create coding mask like ABC-XXXX-XXX-XXXX-XX (Lets say ABC is your company name and put it in PRJID)
    Now you can create Projects codes like- ABC-2014-ADV or ABC-2015-ADV and so on.
    In this way, you can keep your years also by using same mask.
    Regards
    Shishir

Maybe you are looking for

  • Link multiple  XML files  stored in oracle database

    Link multiple XML files Can any one give some code example regarding my issue: If I have for example file1.xml stored in one relational table and another file2.xml stored in another table -.etc And I want to put link and reference which will make me

  • Troubles with virtual channels

    I programm my applications on an PC without any NI-Hardware. My problem ist, that I need virtual channels from the Measurement&Automation-Explorer. My first attempt was, to configure some channels without settings for hardware. Normally when I use an

  • MAC Users: how to get Chinese language input for my Bold 9700

    Hey everyone, I have a Bold 9700 from AT&T and I need to get Chinese input to work.  But all of your solutions are for PC users, and I have a Mac.  I am using the latest desk top manager.  I can get read Chinese but can't input.  there is no option f

  • External DVD Burner Suggestions?

    I am looking for an external DVD burner.  Any suggestions? I was looking at the OWC Mercury Pro units, but it looks like a unit from LaCie (d2 or Slim) might be a better idea. Any help would be appeciated. VB

  • "...wizard was interrupted before Palm desktop by Access could be completely installed..."

    When I attempt to install Palm Desktop 6.2 by running PalmDesktopWin62.exe everything seems to go fine until the "Configuring Registry" starts.  Then I get a Microsoft Windows message that says: "... The wizard was interrupted before Palm desktop by