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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T11:25:50+00:00 2026-06-01T11:25:50+00:00

I’ve searched within the site, but couldn’t find my answer.. I’d like to start

  • 0

I’ve searched within the site, but couldn’t find my answer..

I’d like to start a project from ground up, and my customer has given me a HTML Mock-up of the product and asked me to do it in a TDD approach.

Normally, I was responsible for designing and developing both front-end and back-end parts, and it’s my first time that they have given me the mock-ups. It’s not my favorite style of developing software for consultation works (I normally start by Model layer, then View, and then Controller for integrating them.)

So my questions are:

1- Basically, how should I attack the problem? I know that it is better that I have the View Layer,but I want to adapt the View into my favorite Template Language of choice.

2- I have to do in a TDD approach. I guess having MockUp is a perfect scenario for “Functional Testing” by using Selenuim test tool, for instance. Am I right ??

  • 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-01T11:25:51+00:00Added an answer on June 1, 2026 at 11:25 am

    The short response is:

    1. write a definition of your problem as formally as you can
    2. choose one or more testing frameworks and write your tests; simplifying:
      1. unit tests for backend
      2. functional tests for frontend
    3. start looping: design, code, test
    4. periodically review with committer

    You can use every View Technology you want to realise your mocks. It’s HTML…

    Being more verbose, HTML Mockups are great to help you define use cases (UCs) and business requirements (BRs).
    From UCs and BRs you’ll be able to define a first draft o full requirement specification and a system and architectural design from developer (your) perspective.

    Every functional requirement in BRs, should have a functional test, runnable using for example Selenium you mentioned, and should be exploded into several fine granularity requirements, for each of which you can define a unit test. Following a TDD approach then you can build your backend trying to pass every unit test and, rolling up, every functional test.

    When you complete your single BR’s backend, you can concretize the correspondent html mock in your preferred view technology and run functional tests in your technical environment and then in an integration environment.

    These tests can be done automatically using continuous integration.

    When every BR of a UC has passed its functional test and unit tests, you can submit the use case to you committer for user acceptance and have feedback.

    Every step should consider a loopback up to the design phase.
    If you keep trace of every dependence among UCs, BRs and unit tests (for example using a traceability matrix in a Spreadsheet), the you should be able to indentify and limit loopbacks impact and act with code changes to limited code base.

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

Sidebar

Related Questions

I want to count how many characters a certain string has in PHP, but
For some reason, after submitting a string like this Jack’s Spindle from a text
I have a string like this: La Torre Eiffel paragonata all’Everest What PHP function
I've got a string that has curly quotes in it. I'd like to replace
I have a French site that I want to parse, but am running into
I'm parsing an RSS feed that has an ’ in it. SimpleXML turns this
Seemingly simple, but I cannot find anything relevant on the web. What is the
link Im having trouble converting the html entites into html characters, (&# 8217;) i
That's pretty much it. I'm using Nokogiri to scrape a web page what has
I would like to count the length of a string with PHP. The string

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.