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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T13:50:48+00:00 2026-05-13T13:50:48+00:00

Im starting a project with Magento. Let me first say, that i come from

  • 0

Im starting a project with Magento. Let me first say, that i come from the MS world, i have never used PHP before, and while im catching up quite rapidly i’m def a php newb.

I can’t quite seem to grasp the differences between the model, resource model, resource and entity objects and how they are related in the magento architecture.

I’ve tried googling for days now and i have found little info, and what i have found doesn’t really explain it!

  • 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-13T13:50:48+00:00Added an answer on May 13, 2026 at 1:50 pm

    Magento is far from typical of PHP development and what it calls things don’t always agree with what other people call them. Magento splits the model layer up into two parts as you’ve recognised, with the Model handling the business-logic, and the Resource part only dealing with talking to the database – the theory being that if you decided on a data-store that wasn’t addressable with PDO, you’d be able to swap in a different resource to handle/loading and saving, without any of the logic that surrounds those things.

    The two different types of Resource that magento does have are Entity and Mysql4 – the latter being a pretty standard table-gateway system, where the Resource maps to a table in the database, the former is a bit more complicated. In order to make it really easy for users and developers to add custom fields to things, the main parts of magento (products, customers, orders etc.) are all represented by what’s known as Entity-Attribute-Value system (EAV) where rather than having a typed column per value, you have a row with a key (c.f. column name) and a value. The Entity Resources handle the mapping of these eav tables to the field-array that holds the data.

    To emphasise though, this is far from typical of a PHP application and if your intention is to learn PHP, I’d pick a different system.

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

Sidebar

Related Questions

I am starting a project that will have many files (like a web servers
I am starting a project with MongoDB. I have my DB : mongo=null; try
I'm starting a project that involves writing mailets for Apache James . As far
I'm starting a project that will build a flash file with quite complex capabilities.
I'm just starting a project that involves making some AI for hex . I've
I'm just starting a project where I need to return POJOs from our mongo
i have a question about the theory here, i'm just starting a project which
I am currently starting a project that will interact with Twitter via it's OpenAuth
I'll soon be starting a project of mine that heavily involves reading and interacting
I often have a couple different schema's in mind when starting project. After making

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.