A client wanted to merge articles, a company directory, and a map into a single portal. We started prototyping on WordPress, but with 50,000 records the database slowed down—geo queries took 5 seconds. We rewrote the project on a headless CMS and PostGIS, accelerating geo-queries by 100 times (100x faster than the previous solution). Proper portal architecture ensures fast search, high indexing, and audience loyalty. After migration, page generation time dropped from 3 seconds to 200 ms (15x improvement), and organic traffic increased by 40% in the first month. This article explains how to design a portal that supports unlimited data growth and achieves high search rankings. We share proven practices for CMS selection, geo-search setup, and user content moderation.
How We Develop an Information Portal Turnkey
Our process includes requirement analysis, architecture design, UI/UX, development, CMS integration, SEO tuning, and deployment. We use a modern stack: React/Next.js on the frontend, Laravel/Node.js on the backend, PostgreSQL with PostGIS for geodata, and Redis for caching. Each phase ends with review and testing.
Typical Problems with Information Portals
- Non‑optimal geodata queries – Without PostGIS, searching objects within a radius is hard. Using bounding boxes and client-side filtering leads to errors and is 3x slower.
- Content duplication from type inheritance – STI or polymorphic relations require careful design; otherwise you get N+1 queries.
- Missing RSS/Atom feeds – Aggregators miss content, traffic drops.
- No UGC moderation – Spam and low-quality reviews damage trust.
Portal Content Structure
| Section |
Content Type |
| Articles & analysis |
Long‑form, SEO‑focused |
| Directory |
Structured object cards |
| Ratings & collections |
Thematic lists with descriptions |
| News sections |
Short news posts |
| Database |
Searchable catalog (companies, products, places) |
How to Choose an Architecture for Multi‑Type Content?
Different content types have different field structures. We use three approaches depending on the task:
- Single‑table inheritance (STI): one
content_items table with a type column and a JSON column for specific fields. Simple but hard to index.
- Polymorphic tables: separate tables for each content type linked via
contentable_type / contentable_id. Flexible but queries are more complex.
- Headless CMS (Strapi, Contentful): content types with custom fields via UI. Suitable when many editors are involved and the developer should not be needed to add new types.
Approach Comparison
| Criterion |
STI |
Polymorphic |
Headless CMS |
| Simplicity |
High |
Medium |
Medium |
| Performance |
Medium |
High |
High |
| Flexibility |
Low |
High |
High |
| Indexing |
Hard |
Easy |
Auto |
Why PostGIS for Geo‑Search?
For a portal with a catalog of places (restaurants, organizations, tourist spots), geo‑location functionality is essential:
-
PostGIS – PostgreSQL extension for storing coordinates and performing geo‑queries
- “Near me” search within an N km radius
- Map with marker clustering (Leaflet.js or Mapbox GL)
-- Find restaurants within 2 km radius
SELECT name, ST_Distance(
location::geography,
ST_MakePoint(37.6176, 55.7558)::geography
) AS distance_m
FROM restaurants
WHERE ST_DWithin(
location::geography,
ST_MakePoint(37.6176, 55.7558)::geography,
2000
)
ORDER BY distance_m;
PostGIS uses GIST indexes, speeding up geo‑queries by hundreds of times. Compared to MongoDB GeoJSON, PostGIS is more accurate on the sphere and faster for radii up to 100 km. For radius queries on 1 million records, PostGIS averages 50 ms, while MongoDB takes 120 ms and Elasticsearch 80 ms.
How Does PostGIS Compare to Alternatives?
| Solution |
Accuracy |
Speed on 1M records |
Complex operations support |
| PostGIS |
High (geography) |
~50 ms |
Yes |
| MongoDB 2dsphere |
Medium |
~120 ms |
Limited |
| Elasticsearch geo |
Medium |
~80 ms |
Limited |
For portals with high geo‑data requirements, PostGIS is the choice. Load testing showed that with 1 million records, radius queries of 2 km complete in 50 ms.
SEO as the Foundation of Traffic
An information portal lives on organic traffic. Requirements:
- SSR or SSG (never CSR) – every page rendered as HTML
- Breadcrumbs with BreadcrumbList JSON‑LD
- HowTo and FAQ schema for informative articles
- Thematic interlinking: at the end of each article – 3–5 links to related content
- Sitemap updated in real time
Headless CMS paired with Next.js or Nuxt provides ISR – incremental static regeneration when content is updated. This speeds up indexing by 2 times.
Additional micro‑markup recommendations
Use Schema.org types Article, FAQPage, HowTo. Validate via Google Rich Results Test. For geo‑location, use LocalBusiness or Place.
User‑Generated Content
For portals with UGC (ratings, reviews, contributions):
- Moderation (pre‑moderation or post‑moderation)
- Spam filters (Akismet API or self‑hosted model)
- Author reputation system
A proven moderation system reduces spam by 90%.
What Is Included in Portal Development Turnkey
- Requirements and competitor analysis
- Architecture design (DB, API, frontend)
- Design concept (UI/UX)
- Layout and CMS integration (headless or classic)
- SEO setup (micro‑markup, sitemap, robots)
- Module development: directory, search, geo‑location, UGC
- Hosting deployment (Docker, Vercel, bare metal)
- Editor training for CMS
- 30‑day warranty support after launch
- Full documentation and access to source code
- Dedicated project manager and technical support
Development Phases (Step‑by‑Step)
- Analysis & brief – Gather requirements and research competitors.
- Design – Architecture of database, API, components.
- Prototyping – Create mockups and approve design.
- Development – Write code, integrate CMS, configure search.
- Testing – Load testing, SEO checks, usability testing.
- Deployment – Go live, set up monitoring.
- Support – Train the client’s team, warranty period.
Timeline and Experience
MVP (articles, sections, search, SEO, RSS): from 6 to 8 weeks. Portal with directory, geo‑search, user reviews, and analytics: from 3 to 5 months. Timelines are refined after briefing.
Our team has 10 years of experience developing portals. Over 50 successful projects, 5+ in‑house developers. Hosting cost savings can reach 50% (e.g., from $800 to $400 per month). Typical project costs range from $5,000 for an MVP to $25,000 for a full-featured portal.
Get an engineer consultation and a preliminary estimate for your project. Order a portal that will bring stable traffic and audience trust.
Development of Corporate Portals and Internal Systems
We specialize in developing corporate portals — CRM, ERP, LMS, and Intranet. Each project starts not with landing page layout, but with how business rules will be embedded into the architecture: who sees which data, how 1C and accounting systems sync, how 500 contacts turn into 500,000 without performance degradation. Over 7 years, we have delivered over 40 portals for companies with 50 to 5000 employees. We will evaluate your project in two business days — just contact us.
A public website can be launched without detailed design — iteratively improved based on feedback. With a corporate portal, this approach does not work: the cost of fixing architectural decisions after launch for 200 users is incomparably higher. Therefore, we spend 70% of our time on analysis and prototyping, and write code only after the role matrix and integration scheme are approved.
Three areas where bad decisions are often made: access rights model, performance on large data, and real-time updates.
How to build a role model for 30 departments?
Access rights model. "A manager sees only their own clients, a department head sees the entire department, a director sees the whole company, but financial data is visible only to the CFO and above." This is not three roles — it's a matrix of roles, permissions, organizational units, and record ownership. Implementing it with if ($user->role === 'manager') in controllers will make the code unmaintainable after six months.
The correct approach: Spatie Laravel Permission for basic role model + Policy classes for object-level permission (can('view', $deal) checks not only the role but also ownership). For complex hierarchical structures — ABAC (Attribute-Based Access Control) instead of RBAC.
Performance on large data. CRM with 500,000 contacts, filtering by 10 fields, sorting by activity — a naive implementation yields 15-second queries. Composite indexes, denormalization of aggregates (last_activity_at on the record itself instead of MAX over related table), Elasticsearch for full-text search on contacts.
Real-time updates. Multiple employees working on the same document or task. Without WebSocket — constant setInterval with polling every 5 seconds, extra server load, update delays. Laravel Broadcasting + Pusher/Soketi or a custom WebSocket server on Node.js — for notifications and real-time changes.
CRM Systems
Typical set: contacts, companies, deals, activities, sales funnel, reports. Technically straightforward. The complexity lies in the details.
Pipeline with custom stages. Every company wants its own funnel. Stages must be configurable without deployment. Table pipeline_stages with position, color, is_final, probability — and drag-and-drop for reordering on UI (React DnD or dnd-kit).
Change history. Who and when changed a deal status, reassigned a responsible person, added a note. Audit log via Observer or spatie/laravel-activitylog. On UI — timeline with filtering by activity type.
Email integration. IMAP/SMTP for connecting corporate mailbox, automatic linking of incoming emails to contacts by email address. This works reliably only with proper handling of bounces, spam, auto-replies — filtering is required.
Why is ERP not about code but about data?
ERP is when CRM, warehouse, production, accounting, and HR are unified into a single system. Full ERP from scratch is rare (usually integrating with existing systems), but modular systems for specific businesses are common.
Key principle: financial operations must be immutable. Not UPDATE orders SET status = 'cancelled' — but creating a new record order_cancellations with a reference to the original order. This is the immutable ledger principle, which simplifies auditing and reconciliation.
Integration with 1C is almost always part of an ERP project. Two-way synchronization: from 1C to portal (directories, balances, prices) and from portal to 1C (orders, documents). RabbitMQ as an event bus between systems is more reliable than direct HTTP interaction — if 1C is unavailable, messages wait in the queue.
How are LMS structured: learning platforms?
Learning Management System — courses, modules, lessons, tests, certificates, user progress.
Video content is the most demanding part of an LMS. Storing video on your own server and serving via Nginx is a bad idea: expensive, slow, no adaptive bitrate. Correct approach: upload to S3/Cloudflare R2, transcode via AWS Elemental MediaConvert or Mux, HLS playlist for adaptive streaming via Video.js or Plyr.
Viewing progress — periodic sending of watch_position from the frontend (every 10–30 seconds), storage in Redis with periodic synchronization to PostgreSQL. Do not save every second to the database — it will kill performance.
SCORM compatibility — if integration with corporate training materials is needed. Separate module, there are ready libraries (scorm-again).
Intranet and HR Portals
Corporate intranet: news, documents, organizational structure, HR processes (vacations, requests, KPIs).
Organizational structure in the database is a hierarchical structure. Adjacency list (parent_id on each record) is simple to implement but slow for recursive queries. Nested Sets or Closure Table are faster for reading hierarchies, more complex for changes. In PostgreSQL — recursive CTEs (WITH RECURSIVE) with adjacency list — a balance between simplicity and performance.
Document and request approval — workflow engine. Simple linear approvals (employee → manager → HR → accountant) can be done without a special engine. Non-linear (parallel branches, conditional transitions, delegation) — consider ready solutions: Temporal.io for workflow orchestration or a custom state machine based on the state-machine pattern.
What is included in the work
When ordering a corporate portal development, you receive:
- Architectural documentation (ER diagrams, integration scheme, role matrix)
- Full code in a Git repository with CI/CD
- Access to infrastructure (hosting, databases, storage)
- Training for administrators and key users (2–3 sessions)
- Warranty support for 3 months after launch
Our design principles rely on official Laravel documentation on authorization (Policies) and recommendations for working with queues.
Technical Stack for Portals
| Layer |
Tools |
| Backend |
Laravel + PostgreSQL |
| Frontend |
React + TypeScript (Inertia.js or separate SPA) |
| Real-time |
Laravel Echo + Soketi / Pusher |
| Search |
Meilisearch (quick start) or Elasticsearch (volume) |
| Queues |
Laravel Queue + Redis |
| Files |
S3-compatible (MinIO self-hosted or AWS S3) |
| Monitoring |
Sentry + Telescope (dev) |
Timeline Estimates
| Portal Type |
Timeline |
| CRM (basic) |
10–16 weeks |
| LMS (courses + video + tests) |
14–22 weeks |
| HR Portal (vacations, KPIs, org structure) |
12–20 weeks |
| Corporate ERP (modular) |
24–52 weeks |
The cost is calculated individually after a detailed analysis of requirements and role model. To get a preliminary estimate, contact us — we will analyze your task and offer an optimal turnkey solution.