CodeCharge Studio
search Register Login  

Web Reporting

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> General/Other

 Rebuild Project From Generated Files?

Print topic Send  topic

Author Message
Suntower

Posts: 225
Posted: 06/07/2006, 2:44 PM

Yes, folks I did it. CRAP! I have a deployed application that works fine, but my development PC blew up and I don't have the original CCP files.

<insert derisive laughter here>

So... is there -any- way to rebuild the CCP from the ASPs, HTMLs, js files, etc...?

Please say 'yes'.

Thanks In Advance,

---JC
_________________
---On a campaign for more examples and better docs!
View profile  Send private message
peterr


Posts: 5971
Posted: 06/07/2006, 2:53 PM

Unfortunately the answer is "no"...
Please also see: http://forums.codecharge.com/posts.php?post_id=73863
_________________
Peter R.
YesSoftware Forums Moderator
For product support please visit http://support.yessoftware.com
View profile  Send private message
WKempees
Posted: 06/07/2006, 3:01 PM

No laughter.

"Suntower" <Suntower@forum.codecharge> schreef in bericht
news:2448748a5a28f4@news.codecharge.com...
> Yes, folks I did it. CRAP! I have a deployed application that works fine,
> but my
> development PC blew up and I don't have the original CCP files.
>
> <insert derisive laughter here>
>
> So... is there -any- way to rebuild the CCP from the ASPs, HTMLs, js
> files,
> etc...?
>
> Please say 'yes'.
>
> Thanks In Advance,
>
> ---JC
> ---------------------------------------
> Sent from YesSoftware forum
> http://forums.codecharge.com/
>

Suntower

Posts: 225
Posted: 06/07/2006, 3:05 PM

Thanks,

OK, but the topic you referred me to implies that there is an Import function so that I could import these pages into an existing CCS project and bring them together that way.

How would -that- be done?

---JC


Quote peterr:
Unfortunately the answer is "no"...
Please also see: http://forums.codecharge.com/posts.php?post_id=73863

_________________
---On a campaign for more examples and better docs!
View profile  Send private message
WKempees
Posted: 06/07/2006, 3:36 PM

Sorry but that's not what Peterr refers to.
He simply states that recreating a project from the resulting files is not
possible.
Secondly he states that if one doesn't care about others (re-)developing the
application one should publish the project files to the server (sarcasm).
Walter

WKempees
Posted: 06/07/2006, 3:47 PM

Positive note?

IF you have access to the ASP, HTML and JS files and all the _events
AND the size of the application is reasonable
THEN rebuilding (read recreate, reverse engineering) will be the fast way to
go using a new project.

Walter


peterr


Posts: 5971
Posted: 06/07/2006, 3:53 PM

JC, that post states "importing is not possible."
_________________
Peter R.
YesSoftware Forums Moderator
For product support please visit http://support.yessoftware.com
View profile  Send private message
Benjamin Krajmalnik
Posted: 06/07/2006, 5:46 PM

The answer is yes, but not in an automated manner.
I have a friend who lost his project files and only had the generated
source.
In a weekend, I rebuilt his project..

The methodology is not difficult.
You need to look at all of the pages together.

The first thing I looked at was the HTML to see which objects/controls had
been populated.
I then proceeded to create them (in a new page, keeping the original HTML
open in another window).
For the grids and forms, you need to look at the pagename.php file (it does
not matter which language it is, the methodology is the same) to extract the
data source information, where clauses, etc.
Once the basic stuff is done, you go in and start recreating the custom
handing in the pagename_events.php.

A bit tedious, but doable.

WKempees
Posted: 06/07/2006, 7:24 PM

No problem is simple, but every problem has a simple solution, once you
found it.

headhunter


Posts: 130
Posted: 06/08/2006, 12:44 AM

Backup before it happens is the sollution :-)

These days a external drive (or even internal secondary backup drive) is cheap. I create backup on local drive and external drive.
With a simple script (batch file) I copy all projects to network pc / server where then backup is made, but you can do this on local machine too.
I do this instead of shutting down pc when I stop, I run the batch file, when backup is complete my pc shuts down. Easy as that.

You do not need backup software for this.
View profile  Send private message
Suntower

Posts: 225
Posted: 06/08/2006, 12:29 PM

Many thanks for the help.

---JC

Quote Benjamin Krajmalnik:
The answer is yes, but not in an automated manner.
I have a friend who lost his project files and only had the generated
source.
In a weekend, I rebuilt his project..

The methodology is not difficult.
You need to look at all of the pages together.

The first thing I looked at was the HTML to see which objects/controls had
been populated.
I then proceeded to create them (in a new page, keeping the original HTML
open in another window).
For the grids and forms, you need to look at the pagename.php file (it does
not matter which language it is, the methodology is the same) to extract the
data source information, where clauses, etc.
Once the basic stuff is done, you go in and start recreating the custom
handing in the pagename_events.php.

A bit tedious, but doable.



_________________
---On a campaign for more examples and better docs!
View profile  Send private message

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

PHP Reports

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.