• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

test driven

 
Ranch Hand
Posts: 79
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi, I am still a student and do not know what is test driven development and javascript test driven development?
I also want to develop a friendly CMS and wants to lock some words in textarea that they couldn't be changed and mark them red. Professor told me that this could be possible with css but am not sure where to start. I already made something in "different mood" where there were many self generated textboxes where I found appropriate text for example <input type="TEXTBOX1=value" value="TEXTBOX2=value" etc ><table><tr><td>TEXTBOXT3=value ...
but found a problem where I used javascript on the page which uses ' " then it lost data because it thought it was the start ? or end of a TEXTBOXn.

I also have a password updated in javascript when connecting to database used for login authentication - used when changing the password it was visible in the source code. I thought something like http://www.webtoolkit.info/javascript-sha256.html could help me but am not sure how to use it.

Thanks in advance,
 
author
Posts: 46
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Grega,

Test-driven development is a programming process where you write unit tests to specify the behavior of your production code before actually implementing it. The ultimate goal is to produce loosely coupled, well tested and solid production code.

So, test-driven JavaScript development obviously is the practice of TDD applied to the JavaScript programming language, with lots of real world examples and so on.

As for your other questons - if you want to lock down certain words in a textfield (or some kind of editor), you'll have to use JavaScript for that. Also, if you generate markup on the server-side you need to take care to properly escape the contents of the attributes, as e.g. quotation marks is not allowed inside them.
 
Do not threaten THIS beaver! Not even with this tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic