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 8999825
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T00:13:53+00:00 2026-06-16T00:13:53+00:00

Paging Gabor de Mooij or anybody else who have been more experienced with RedBeanPHP.

  • 0

Paging Gabor de Mooij or anybody else who have been more experienced with RedBeanPHP. The current naming convention we have is using underscores and although anybody can make a case of using Pascal/Camel casing I think what’s important is consistency and we don’t want to refactor everything to just to conform to a consistent naming pattern but we’ll see what we can do.

There’s just these statements that are contradicting. Can anybody clarify this rule?

enter image description here

Also, don’t you think 2 or more worded properties are also common and its ugly if they are all in lowercase: date_added or dateAdded?

  • 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-06-16T00:13:54+00:00Added an answer on June 16, 2026 at 12:13 am

    RedBeanPHP has been designed for an ‘agile’ approach. The database gets crafted by RedBeanPHP on-the-fly, while you are coding the app and discussing the domain with your customer.

    However I will never impose artificial limitations. You can use underscores and uppercase characters, just remember that RedBeanPHP uses some conventions to retrieve/store relations: table_id and table1_table2 are the most important ones.

    Also note that uppercase table names can be very hard to maintain because some database-OS combinations are case-insensitive.

    As of RedBeanPHP 3.4 (now alpha) RedBeanPHP will throw an exception if you try to store a bean with an invalid type name; however this is just to warn you. To override this check use setStricTyping(false).

    Example:

    R::setStrictTyping(false);
    $bean = R::dispense('postAddress');
    $bean->housenumber = '1';
    R::store($bean);
    $bean = R::dispense('post_address');
    $bean->house_number = '2';
    R::store($bean);
    

    This will just work.

    I hope this clarifies the situation, I will update the docs to be more specific as soon as I have some time. Thank you for notifying me about this issue. Feel free to ask any question on our forum: https://groups.google.com/forum/?fromgroups#!forum/redbeanorm

    Note that your first message needs to be approved on the forum; however there was no other way to keep the spam away..

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

i have issue regarding Paging using filterexpression. here's the piece of code for filtering
T-SQL Paging Sorting & Filtering I have been working on a T-SQL stored procedure
I just want the paging like the google adsense. Means paging using the ajax..
I have a paging worked with NHibernate: public IEnumerable<Answer> GetAnswers(int page, int pageSize) {
I have implemented paging for a large set of data in an application by
I have a paging control on my site that has it's container element set
I am using paging on a GridView that is tied to a List<Employee> .
How can I apply paging to a dataset? I have a method in which
I have developed a paging control that I would like to use in a
I have datagrid with paging enabled that can have 10 rows per page. Also

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.