Quantcast
Channel: West Wind Message Board Messages
Viewing all articles
Browse latest Browse all 10393

Re: Automating record creation/editing

$
0
0
Re: Automating record creation/editing
Web Connection 5.0
Re: Automating record creation/editing
May. 20, 2013
09:22 am
3SF0K3PDCShow this entire thread in new window
Gratar Image based on email address
From:Brett Baggott
To:San2013
Here's 10 good reasons why doing "automated record creation/editing" via generated code (i.e. code you don't really understand) is a bad idea:

Open Web Application Security Project - Top 10 Threats and Vulnerabilities

I'm not trying to be flippant here but it is _important_ to have a very good understanding of the HTML/CSS/etc. for sites that are "data driven". I'm not trying to be elitist here either.


Rick,

1st of all, thanks for the quick answer.

What can I say? I am disappointed with the answer. As a VFP programmer, I was hoping for more VFP and less HTML/CSS in WebConnection; more automation/RAD. I know you cannot make 100% of developers happy, but 30%, 50%, or 80% might be happy with a generic tool/class/function. I am talking here about very basic functionality for a data-driven website. I wouldn't need WebConnection for a static website with just a few data entry fields.


BTW, [[The problem with those kinds of things is that everyone then wants a million little enhancements to do this or that a little different and it's just too much of a hassle to maintain this]] this is a problem with everything! This is why you provide basic classes/code which developers can customize.

Thanks again,
San2013


No we don't have a template tool that automatically provides record viewing and browsing.

The problem with those kinds of things is that everyone then wants a million little enhancements to do this or that a little different and it's just too much of a hassle to maintain this, so this feature which we previously had roughly as part of wwShowCursor has been deprecated.

+++ Rick ---


Hi,

I have many tables (20+) in my project. The users will create and edit data in those tables through a website.

I could use something looking like the Sample Guest Book, but simpler, working with a single record at the time.

Does WebConnection have a tool/class/function to automatically generate HTML code to create/edit a single record in a table?

Input parameters would be:
- cursor/table record, object or a set of memory variables representing a single record,
- field captions,
- field descriptions,
- field types and sizes (text, numeric, date, time, date and time, boolean...)
- simple validation rules (required, range...)
- default value.

I see that the Guest Book is done through a template. It is not extremely complex, but not trivial either. I could imagine a WebConnection tool/class/function generating a generic HTML code for me. Does something like this exist?

I am new to Web Connection, so sorry if the above doesn't make sense,
San2013




Viewing all articles
Browse latest Browse all 10393

Trending Articles