473,396 Members | 2,013 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

HTML Conventions

I couldn't help but make an even better list in reference to this thread:
http://mail.python.org/pipermail/pyt...ly/288678.html
<table border="3" cellpadding="3">
<tr><th>Type</th> <th>Convention</th> <th>Example</th></tr>
<tr><td>funtion</td> <td>action_with_underscores</td>
<td>find_all</td></tr>
<tr><td>variable</td> <td>noun_with_underscores</td>
<td>curr_index</td></tr>
<tr><td>constant</td> <td>NOUN_ALL_CAPS</td>
<td>ALLOWED_RNA_PAIRS</td></tr>
<tr><td>class</td> <td>MixedCaseNoun</td> <td>RnaSequence</td></tr>
<tr><td>public property</td> <td>MixedCaseNoun</td> <td>IsPaired</td></tr>
<tr><td>private property</td> <td>_noun_with_leading_underscore</td>
<td>_is_updated</td></tr>
<tr><td>public method</td> <td>mixedCaseExceptFirstWordVerb</td>
<td>stripDegenerate</td></tr>
<tr><td>private method</td> <td>_verb_with_leading_underscore</td>
<td>_check_if_paired</td></tr>
<tr><td>really private data</td> <td>__two_leading_underscores</td>
<td>__delegator_object_ref</td></tr>
<tr><td>parameters matching property</td> <td>SameAsProperty</td>
<td>__init__(data, Alphabet=None)</td></tr>
<tr><td>factory function</td> <td>MixedCase</td> <td>InverseDict</td></tr>
<tr><td>module</td> <td>lowercase_with_underscores</td>
<td>unit_test</td></tr>
</table>
Jul 21 '05 #1
0 847

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

21
by: Patrick Dunford | last post by:
PHP allows control arrays in forms e.g. this is a counter editing script echo "<input name=\"counterdelname\" type=\"hidden\" value=\""; echo "<input name=\"countername\" type=\"hidden\"...
4
by: Cristof Falk | last post by:
I wanted to get a feel. The documentation gives naming conventions for public/protected members. Is this truly widely adopted? And what about using the same conventions for private members and...
7
by: cmiddlebrook | last post by:
Hi there, I keep finding myself getting inconsistent with naming conventions for things like member variables, class names etc and I just want to find something that suits me and stick to it. I...
52
by: Andy Dingley | last post by:
I'm using this at present: <p title="Publication date" ></p> Works fine on screen, but Fangs/Jaws just reads it as "left bracket twenty-eight slash zero slash two thousand five fifteen colon...
1
by: clintonG | last post by:
Does the use of DTD, XML Schema and similar constructs adopt the use of C# naming conventions? If so how do I make the distinction of how to apply C# conventions with XML elements, attributes and...
7
by: Ralph Lund | last post by:
Hi. I am starting a new project with C#. I am searching for "good" coding conventions. I know that there are some coding conventions from microsoft, (but they are very extensive and not clear)....
6
by: rlrcstr | last post by:
The DBA team at the office controls the naming conventions for the database structure, but their naming convention are rather tedious. So typically I create a global module that I use as a mapping...
2
by: Josh Wolf | last post by:
The naming conventions that .NET uses in its HTML controls are driving me crazy! Pulling one in from a control or within a master page, for example, causes .NET to add class info to the "name"...
2
by: CM | last post by:
Hi, Could anyone please help me? I am completing my Master's Degree and need to reproduce a Webpage in Word. Aspects of the page are lost and some of the text goes. I would really appreciate it....
1
by: Philipp Post | last post by:
Marcello, Not a big surprise as naming conventions have a lot to do with personal prefernces. There are a lot of threads in comp.databases and the other database groups. Just do a search for...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.