Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6470945
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T06:10:06+00:00 2026-05-25T06:10:06+00:00

Should files be named something-with-hyphens.js, camelCased.js, or something else? I didn’t find the answer

  • 0

Should files be named something-with-hyphens.js, camelCased.js, or something else?

I didn’t find the answer to this question here.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T06:10:07+00:00Added an answer on May 25, 2026 at 6:10 am

    One possible naming convention is to use something similar to the naming scheme jQuery uses. It’s not universally adopted but it is pretty common.

    product-name.plugin-ver.sion.filetype.js
    

    where the product-name + plugin pair can also represent a namespace and a module. The version and filetype are usually optional.

    filetype can be something relative to how the content of the file is. Often seen are:

    • min for minified files
    • custom for custom built or modified files

    Examples:

    • jquery-1.4.2.min.js
    • jquery.plugin-0.1.js
    • myapp.invoice.js
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Yesterday I asked the question on how I should save my files. After some
I have a Excel CSV files with employee records in them. Something like this:
This question has been asked here in one form or another but not quite
I am uploading audio file from server, I want the name of files should
It is widely recommended that JS files should be put at the bottom of
Is there ever a circumstance where the .MYI files should be bigger than my
Should I wrap all the files I want to install in individual components? What
How should I divide source files into projects (within one solution) to be able
Where should i create a folder to house my CSS files within my rails
Possible Duplicate: Should C++ eliminate header files? In languages like C# and Java there

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.