Why This Chapter Matters
Most programmers begin a website project by discussing technology.
The first questions are usually:
"Should we use WordPress?"
"Should we build it in Laravel?"
"Which theme should we buy?"
"Which hosting package should we recommend?"
Unfortunately, these are not the first questions that should be asked.
Technology is only a tool. A website is built to achieve an organisational purpose. If the programmer starts coding before understanding that purpose, even excellent coding may produce an average website.
This handbook assumes that the organisation has already prepared its content strategy, information architecture and overall website philosophy. Those decisions have already been taken.
The programmer's responsibility is different.
The programmer has to convert those ideas into a website that is technically sound, future-ready, AI-friendly and easy to maintain.
Many coding decisions remain invisible to visitors. However, they directly influence how the website performs, how easily it grows, how search engines interpret it, how AI systems discover it and how easy it becomes to maintain over the years.
This chapter therefore focuses on the mindset every programmer should develop before writing the first line of code.
________________________________________
Rule 1.1; Understand the Organisation Before Choosing the Technology
The Rule
Never recommend a technology or development platform before understanding the organisation that will own and operate the website.
Why This Rule Exists
A website is expected to serve an organisation for many years.
The organisation may publish thousands of articles, photographs, videos, reports, case studies, FAQs and interactive tools over time. It may also expand into multiple languages, introduce member logins, launch mobile applications or integrate AI services.
These future requirements influence today's technical decisions.
Selecting a platform only because it is familiar or inexpensive often creates expensive limitations later.
Technology should therefore follow organisational needs—not the other way around.
What Most Programmers Do
A programmer often recommends the technology that he or she is most comfortable with.
Sometimes the recommendation is based on familiarity.
Sometimes it is based on speed.
Sometimes it is based on available templates.
Very little effort is spent understanding how the organisation intends to grow over the next five or ten years.
Better Practice
Before suggesting any technology, understand:
• the nature of the organisation,
• the expected size of the website,
• the type of information being published,
• expected future growth,
• maintenance capabilities,
• and integration requirements.
Only then should the technical platform be selected.
Programming Impact
This decision affects:
• database structure,
• content management system,
• scalability,
• media management,
• search capability,
• AI compatibility,
• maintenance cost,
• future enhancements.
Changing the technology after development has begun is often difficult and expensive.
________________________________________
Rule 1.2; Read the Complete Functional Brief Before Writing the First Line of Code
The Rule
Never begin development after reading only the homepage or a few sample pages.
Read and understand the complete functional brief.
Why This Rule Exists
Many programmers start building immediately after receiving a page list or homepage design.
Later they discover requirements for:
• document libraries,
• videos,
• quizzes,
• multilingual content,
• advanced search,
• FAQs,
• case studies,
• downloads,
• calculators,
• AI features,
• or member dashboards.
By this stage, much of the earlier coding has to be modified.
This increases cost, delays completion and introduces unnecessary complexity.
Better Practice
Before beginning development, understand every type of page the website will eventually contain.
Prepare a complete list of:
• page types,
• media types,
• user interactions,
• search requirements,
• reporting requirements,
• administrative functions,
• and future expansion possibilities.
Coding should begin only after the functional picture is reasonably clear.
Programming Impact
A complete understanding at the beginning improves:
• database planning,
• file organisation,
• modular programming,
• reusable components,
• navigation logic,
• and future maintenance.
________________________________________
Rule 1.3; Code for the Next Five Years—Not Just for Today's Website
The Rule
Assume that the website will continue growing long after the current project has been completed.
Why This Rule Exists
Very few successful websites remain the same.
Articles increase.
Images multiply.
Videos accumulate.
Documents grow.
New services are introduced.
Old information requires updating.
The coding should therefore support continuous expansion without requiring repeated redesign.
Better Practice
While designing the system, ask yourself:
Can this website comfortably handle:
• ten times more pages?
• ten times more images?
• ten times more documents?
• ten times more visitors?
If the answer is uncertain, redesign the structure before development progresses.
Programming Impact
This affects:
• database design,
• storage planning,
• indexing,
• taxonomy,
• caching,
• backup systems,
• performance,
• and scalability.
________________________________________
Rule 1.4; Assume That Every Website Will Keep Evolving
The Rule
Never write code that assumes today's requirements will remain unchanged.
Why This Rule Exists
Every organisation evolves.
Departments change.
Products change.
Services change.
Government regulations change.
AI technologies change.
Visitor expectations change.
A rigid website becomes obsolete much faster than a flexible one.
Better Practice
Build systems that can easily accommodate:
• additional page types,
• new categories,
• new content sections,
• new media,
• additional languages,
• future AI integrations,
• and evolving user requirements.
Flexibility should be considered a design objective—not an afterthought.
Programming Impact
Flexible coding reduces future redevelopment costs and increases the useful life of the website.
________________________________________
Rule 1.5; Never Sacrifice Long-Term Functionality for Short-Term Convenience
The Rule
Avoid coding shortcuts that make today's work easier but tomorrow's maintenance more difficult.
Why This Rule Exists
Hard-coded menus.
Hard-coded page layouts.
Duplicate templates.
Copied code.
Temporary fixes that become permanent.
These decisions may save a few hours during development but often create years of maintenance problems.
The true cost is paid long after the project has been delivered.
Better Practice
Whenever there are two possible solutions, prefer the one that is:
• easier to maintain,
• easier to expand,
• easier to update,
• easier to debug,
• and easier for another programmer to understand.
A website should remain manageable even if the original programmer is no longer available.
Programming Impact
Good programming reduces technical debt, improves maintainability and makes future upgrades significantly easier.
________________________________________
Chapter Summary
Before writing the first line of code, the programmer should remember one simple principle:
A website is rarely rebuilt because the coding language becomes outdated.
It is rebuilt because the original coding could not accommodate the organisation's growth, changing needs and evolving technologies.
The programmer's responsibility is therefore not merely to build a website that works today, but to build one that continues to work, grow and remain discoverable for many years to come.
