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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T06:23:30+00:00 2026-06-15T06:23:30+00:00

Within the past year, I am a beginner at web development. I am currently

  • 0

Within the past year, I am a beginner at web development. I am currently designing a sort of online portfolio to host my projects and such, but before I get thousands of lines of code into it, I would like to know what kinds of practices I should use to get the most out of PHP, Javascript, and OOP.
For example, more of the PHP tutorials have the PHP interleaved heavily with the HTML, which I heard is really bad design.
Obviously there are multiple ways to go about this, and I don’t want to start any debates or arguments, but I would like to know exactly what is out there. Like, for example, I recall some design patterns creating Classes for the pages themselves.

I hope what I’m asking about is clear above! And this will be good help for other folks like me beginning web programming in the future.

I am aware that there are many frameworks as well. But for the sake of getting practice and learning about programming, I would like to do a lot on my own as well.

  • 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-15T06:23:32+00:00Added an answer on June 15, 2026 at 6:23 am

    Beyond MVC, there are two branches (if I may call it that way) from it, that is, HMVC (hierarchic model view controller) and MVVM (model view viewmodel). You may get both of them (HMVC and MVVM) using Kohana framework. The view models are quite “new”, but the principle is always to designate each ‘letter’ to do something. For example, the controller deal with your requests, parameters sent by the browser and outputting the proper information. The model deals with data, may it be in the database or just a file representing some “raw” data that should be displayed after, in your “view”.

    Usually, in the MVC pattern, you’ll load your models from your controller and pass the necessary information to the view. In the MVVM approach, your views will be loading the necessary models to that view, without the need of the controller “controlling” the actions.

    The “H” part means you can actively extend the whole framework, from SYSTEM to MODULES to APPLICATION, as many class extensions you may need, and as many versions of these extensions you may need as well. For example, by extending the Controller_Template class, you may create class BaseTemplate extends Controller_Template then after, you may inherit the basic functions from BaseTemplate on class FrontEnd extends BaseTemplate and class BackEnd extends BaseTemplate, where the BackEnd class will deal with authorization to allow access for certain parts of the backend, etc. And Kohana 3.x plays really well with IDEs, that should make it easier to get the grip and start coding with code completion and quick documention

    Certainly, frameworks got many tools to help you finish your work faster, but the main point is to help you keep your code organized.

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

Sidebar

Related Questions

I'm trying to select records which have a recdate within the past year $goodate
I am primarily a web developer (ruby, python) that is new to iPhone development.
Within an asp webform project I am making a call to a web service
For the past year I've been working on some legacy code that was written
I've been learning Java for the past year in my free time, and so
Within my JavaEE web application, I need to process incoming messages strictly in the
Setup: Over the course of the past year, I've created around 20 common WCF
I've been developing a WPF interface for the past year, and this week I've
How to find one text field value is within past 60 day excluding current
I tried to figure out a dynamic query to get date col within past

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.