[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference ilbbak::ibi_focus

Title:FOCUS, from INFORMATION BUILDERS
Moderator:ZAYIUS::BROUILLETTE
Created:Thu Feb 19 1987
Last Modified:Mon May 05 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:615
Total number of notes:1779

421.0. "Focus > Rally" by JOCKEY::BYNGN () Thu May 30 1991 13:54

    I've got a customer who has a single application based around Focus
    which was written about 4 years ago, very little maintainance has been
    performed on this application over this period. They are now looking at
    re-writing it because they have lost all there FOCUS expertise. 
    
    They use RDB as their database and most of their other applications are
    written in RALLY.  
    
    I know these are silly questions without giving more detail but are there
    any finger-in-the-air answers ?
    
    How much effort is required to convert from Focus to Rally ?
    
    Are there any major problems doing this or any obvious pit-falls ?
    
    They are looking at pruchasing alot of consultancy from somebody.
    
    Please let me know of any extra information required.
    
    Thanks for any help.
    
    Nigel
T.RTitleUserPersonal
Name
DateLines
421.1What type of application ??SHIPS::CARSE_DFri May 31 1991 05:4422
    
    Hmmm... depends on the application.
    
    If it's an online TP system, then RALLY would probably be better for
    the customer (as they already have the relevant skills) but will involve
    throwing away the FOCUS code and developing again from scratch.
    
    However, if it's a reporting application I'd stick with FOCUS for the
    following reasons:
    
    	1.	RALLY (to the best of my knowledge) is not exactly reknowned
    		for its reporting application capabilities,
    	2.	if DEC thought they had a superior reporting product, they
    		wouldn't buy in and use FOCUS themselves !!
    
    If you wish to press the customer to use a DEC product, then I'd
    suggest you offer them TEAMDATA (...which hasn't exactly set the world on
    fire -) ...), or good old DATATRIEVE, or maybe even COBOL (now I'm
    being silly !)
    
    Regards  -  David
    
421.2Focus vs. RallyGROGAN::MADDENdon't know mindWed Jun 05 1991 10:2821
    
>>    How much effort is required to convert from Focus to Rally ?
  
	If they don't have any Focus expertise, wouldn't they be
	building a new Rally application which has similar functionality
	to the existing appl.
    
>>    They are looking at pruchasing alot of consultancy from somebody.
  
	Is this because they don't have any Rally experience either, or
	shortage of resources?

	I agree with the previous reply on type of application.  
	From a programming perspective I feel that Focus is easier to 
	maintain (code oriented(Focus) vs. menu/object oriented(Rally);
	and for a data access appl. there is no contest.

    	(you might want to check the Rally notes file, and please don't 
    	 cross-post this reply.. I don't want any hate mail from the 
    	 Rally people)
-richard              
421.3Rewrite seems to make the most sense.IJSAPL::WOODROWFrom E101 to VAX and beyond...Sun Jun 09 1991 12:167
Having consulted extensively for a customer who uses RALLY, Uniface and
FOCUS, I would have to disagree on the maintainability of FOCUS re RALLY,
depending on the programmer. Screens seem to me to be a real bear in
FOCUS compared to almost any other 4GL. And FOCUS still has not released
a version with the read-only/read-write paradigm for use with Rdb.

Peter
421.4re .3MILPND::MADDENdon't know mindWed Jun 19 1991 16:177
    RE .3
    
    The Focus Screen Painter can be used to build new and maintain 
    existing screens.  What do you mean by 'the read-only/read-write
    paradigm'?
    
    Richard
421.5Re .4IJSAPL::WOODROWFrom E101 to VAX and beyond...Wed Jun 26 1991 05:5321
Richard,

>    The Focus Screen Painter can be used to build new and maintain 
>    existing screens.  What do you mean by 'the read-only/read-write
>    paradigm'?

The typical and recommended method for handling screen input applications
is to read the record in a read-only transaction, preserving its dbkey
and then after the user has modified the record on the screen, to reread
the record in a read-write transaction using the dbkey (minimal locking)
and compare the current record with the original (to make sure no one
else has modified the record) - and then to actually update the record.
This is sometimes called optimistic locking and is the only real way
to avoid locking problems. RALLY (and Uniface) has this built-in, but it
is very! difficult to do with FOCUS.

Re Screen Painter, my experience (5.2?) was that you could not maintain
screen with "arrays" of records, a very common need and easy to do with
RALLY.

Peter
421.6re -1 MILPND::MADDENdon't know mindWed Jun 26 1991 12:1816
	Peter,

	You are correct in that Focus does not have the read/read-write
	transaction handling built in for RDB.  As a multi user transaction 
	processor Focus is not the best choice, and with higher volumes
	neither is Rally.  You can build your own read/read-write transaction
	with Focus using a read master and a write master for the same 
	relation(s) and a scratch file.   

>>Re Screen Painter, my experience (5.2?) was that you could not maintain
>>screen with "arrays" of records, a very common need and easy to do with
>>RALLY.
  	Use the REPEAT and NEXT features to build 'arrays' into a CRTFORM.


-richard