edit-task
Home
Up
Delete
Task Name:
Task Description:
PAGE to initiate a search qurery for existing 'article' records from the SUBJECTS app
TaskGroup ID:
Start Date:
Start Time:
Duration:
Priority:
Status:
To Do
Completed
In Process
Add Photo:
Owner ID:
Content:
use HTML
Edit Content
<h1 style="text-align: center;">find/ articles</h1> <h2>[WHAT] </h2> <div><ol> <li>[def] this page displays a form with all/most of the input feilds for an 'article' record. This enables users to define and execute a search query for 'article' records based upon a variety of different query parameters.(see example)</li> <ol> <li>] a page that enables the user to define a number of different search queries to execute against the various subjects tables </li> <li>] user to enter which search criteria that they are looking for and than enable them to perform _ a search to return records that meet that criterial </li> </ol> <li>[ args ] none</li> <ol> <li>] ? OPTIONALLY take the chapter, book and llibrary names</li> </ol></ol> <div> <h2>[WHY]</h2> </div> <ol> <li> <p>] This page enables the user to define and execute a number of different search queries to execute against the Subjects 'articles' records table. The query will return the desired 'article' record or records that match the user specified search criteria.</p> </li> </ol></div> <h2>[WHERE]</h2> <ol> <li>[ called ] from ] menu Main - search menu, option - search Subjects, ??= RENAME as search Articles??</li> </ol> <h2>[WHEN]</h2> <ol> <li>]</li> </ol> <h2>[EXAMPLE]</h2> <ol> <li>] <a href="http://sospep.com/find/articles" target="_blank">http://sospep.com/find/articles</a> -</li> <ol> <li>] </li> </ol></ol> <h2>[HOW-TO]</h2> <ol> <li>]</li> </ol> <h2>[REFERENCE]</h2> <ol> <li>] /find/ articles.cshtml</li> <li>] find/articles <a href="/view/task?id=2243" target="_blank">-v-001</a> - </li> <li>] find/articles <a href="/view/task?id=2244" target="_blank">-v-002</a> - </li> </ol><hr /> <h1 style="text-align: center;">developer implementation</h1> <h2>[.process]</h2> <ol> <li> <div>set the qry value = to the name of desired qry</div> </li> <li> <div>set the param value = to the user selected param value</div> </li> <li> <div>user submits form == on post</div> </li> <ol> <li> <div>read qry,</div> </li> <li> <div>read param,</div> </li> <li> <div>build qstring to pass values to page view/articles,</div> </li> <li> <div>redirect to page view/articles</div> </li> </ol> <li> <div>on page view/articles</div> </li> <ol> <li> <div>get the qry name,</div> </li> <li> <div>get the param value,</div> </li> <li> <div>execute the qry(in the DAL helper) to return results to this page</div> </li> </ol></ol> <h2>[.notes]</h2> <ol> <li> <div> </div> </li> </ol> <h2>[.by_date]</h2> <ol> <li><strong>[2012-01-30]</strong></li> <ol> <li>x] created the page,</li> <li>x] created this new page record</li> <li>x] implemented Find-by-ID logic</li> <li>x] added function (GetArticles(ByID)) to LibraryData helper,</li> <li>>>| ] BAL FOR = find by qrys * 6 est. </li> <li>] added METHOD to GetArticles by ID VS GetArticles(parent_id)</li> <li>] NOTE = cant use GetArticleByID AS it return dynamic which cant implictly convert to ...</li> <li>] !!! REMEMBER !!! made change to qstring on searchARticles page to add id param AS script for toolbar looking for this ELSE will generater js error</li> </ol> <li><strong>[2012-01-31][10:30]</strong></li> <ol> <li>x] find by name</li> <li>x] by Description, GetArticlesByDescription, TEST=PASS</li> <li>x] by Content, GetArticlesByContent, TEST=PASS</li> <li>x] by LibraryId, GetArticlesInLibrary TEST=PASS, book=x, returns x records</li> <li>x] by BookId, GetArticlesInBook, TEST=PASS, book=x, returns</li> <li>x] by ChapterId, - GetArticlesInChapter, TEST=</li> <li>[12:00]</li> <li>x] closed for 1492 DAL+++ , moved this page record back to "pages-added" </li> </ol></ol> <p> </p> <p> </p> <hr /> <h1 style="text-align: center;">status</h1> <h2>[===current===]</h2> <ol> <li> <div> ]</div> </li> </ol> <h2>[===next===]</h2> <ol> <li> <div>] ADD feild to search page , isHTML, add qry to DAL, throw/catch qry to pages find/article, view/articles</div> </li> <li> <div>] ?? ADD submenu to main menu for ArticleByID, ArticleByName ??</div> </li> </ol> <p> </p> <p> </p>