Web Development blog

Case study

How this portfolio serves seven specialties from one Flask app

A visitor looking for a web developer should be able to share a project that opens in the right portfolio. Here is how this site's directory, links and walkthroughs make that possible.

Give the visitor two ways in

The starting portfolio focused on automation and web scraping. As the work expanded into storefronts, deployments and integrations, a single home page made it hard to point someone to the work they had asked about. The main address now opens a directory of seven specialties. Each card leads to a complete portfolio with its own introduction, projects, blog and contact prompt.

A web development project can be opened through the web subdomain or through the directory on the main host. Both routes use the same content. A reader can copy a project link, open it in a fresh tab and still find the relevant specialty in the navigation.

Keep links inside their specialty

Flask uses a registry to select the content files for the requested field. On a directory visit, the field stays in links generated by the templates. On a specialty subdomain, the hostname already supplies that context. Project lookups use the selected field's catalogue, so a mistyped storefront URL cannot quietly display a web development project.

Check the journey a reader can take

Open the responsive websites project below. The video waits for you to press play, and the same three walkthrough steps are available as text. Follow the project catalogue link to browse other web development work. The web sitemap lists the pages in that specialty. Routing tests exercise these paths through both the directory and the specialty hostname.

Sources

All articles and case studies Describe your website