The Forums on slxdeveloper.com are now retired. The forum archive will remain available for the time being. Thank you for your participation on slxdeveloper.com!
|
|
Speeding up web development
Posted: 23 Oct 07 11:53 AM
|
One of the things I love with ASP.NET 2.0 and that I was looking forward to with the new web client is the fact that you can make a change in the ASPX and see it reflected immediately in the web browser - ASP.NET automatically recompiles the page and presents you with the new version.
However in Saleslogix these are the steps I have if I need to add a control to a form, assuming it is already in the DB: 1. Update the properties on the entity 2. Build interfaces (wait for that to complete) 3. Add it on the form 4. Build the web platform (wait for that to complete). 5. Deploy the portal (wait for that to complete) 6. Log into the application (wait for ASP.NET to start up) 7. Test the form - if there is any problem go back to step 3.
Now this is not a very fast machine (actually it is a vmware) but each iteration ends up taking me about 5 minutes, easily (not counting the build interfaces / update properties part). Is there any way to speed that up? Maybe skip the deployment step by developing directly under the web folder, or tell it to deploy only the modified items? Often I find out that the "Rebuild Web Platform" didn't rebuild the forms that were needed and I have to Ctrl+Click it which takes a good 3 minutes to finish. Now I just Ctrl+Click it systematically to save myself the aggravation of deploying and testing the outdated form, but I am sure there is a smarter way to find out when a complete rebuild is needed.
I like the platform but for speed of development the old web client's IISRESET is starting to look pretty good (and reliable)! |
|
|
|
Re: Speeding up web development
Posted: 23 Oct 07 5:36 PM
|
You certainly can..
Just open the website in vs.net right from C:\inetpub\wwwroot\slxclient
You can make changes there and see them immediately, debug etc - just be sure to replicate the changes back in AA before you deploy next time.
|
|
|
|
Re: Speeding up web development
Posted: 25 Oct 07 12:42 PM
|
Mmm, yeah. That is nice for some troubleshooting but you end up having to do the work twice so not so great. I did find out how to point the VFS to the hard drive instead of the database, but the "Deploy" step has a lot more logic in it than I first thought - there is actually a lot of building involved in there. At least I can use source control on the web site. Anyway, I put the web site on a faster machine, and all is better.
*EDIT* Actually I didn't really find out how to redirect the VFS. It keeps reverting to the database. It looks like I have to set it on each individual directories but that sounds like a lot of work. So, good bye source control. How frustrating. |
|
|
|
Re: Speeding up web development
Posted: 26 Oct 07 8:03 AM
|
Exporting the VFS and using that export is really very easy...
Take a look at the AA Help file under projects. It tells you how to do this...
Of course I'm using SP1RC1  -- rjl |
|
|
| |
|
Re: Speeding up web development
Posted: 26 Oct 07 11:57 AM
|
Have you noticed AA keeps trying to go down under the directories that don't belong to the project though? I checked the whole thing into our subversion repos but get build errors because it is trying to compile the svn files. |
|
|
|
Re: Speeding up web development
Posted: 27 Oct 07 8:29 AM
|
Originally posted by Nicolas Galler
That did it - thanks!!
Note to self - RTFM |
|
There's quite a bit more in the help files too.. Just go into "PF/SalesLogix/Architect..... " lots of great info there!
-- rjl |
|
|
|
Re: Speeding up web development
Posted: 27 Oct 07 8:30 AM
|
Originally posted by Nicolas Galler
Have you noticed AA keeps trying to go down under the directories that don't belong to the project though? I checked the whole thing into our subversion repos but get build errors because it is trying to compile the svn files. |
|
No, I had not run ito that. SP1RC1? -- rjl |
|
|
|
Re: Speeding up web development
Posted: 27 Oct 07 10:18 AM
|
Yep, SP1 RC1... not a deal breaker though, I can deal with it. I gotta give it to Sage, for all the stability and usability issues associated with a 1.0 release, it is a pretty gigantic leap forward - I feel like Saleslogix is being lifted out of the dark ages. |
|
|
|
Re: Speeding up web development
Posted: 28 Oct 07 7:27 AM
|
Give it a year.... Considering what is coming (of course we can't really discuss it since as partners we are bound by NDA - It should leave the "other guys" in the dust. -- rjl |
|
|
|
Re: Speeding up web development
Posted: 11 Aug 08 6:36 AM
|
Originally posted by Nicolas Galler
Have you noticed AA keeps trying to go down under the directories that don't belong to the project though? I checked the whole thing into our subversion repos but get build errors because it is trying to compile the svn files. |
|
Nicolas,
Just wondering if you ever managed to solve the issue of the biuld trying to read and deserialise the subversion files. I have the same issue on 7.2.2. It's a bit frustrating as it means I cannot use our source control (subversion) direct with a VFS and will have to resort to good old copy an pasting of files instead.
Not so much of a big issue, but a bit annoying.
Regards,
Martin |
|
|
|
Re: Speeding up web development
Posted: 11 Aug 08 10:40 AM
|
No it is still broken on 7.2.2. I had to manually patch one of the DLL to get it to compile. I posted it on http://blog.chivinou.net/2008/01/15/using-source-control-with-slx-72/ (look for the March update at the end of the post).
Thanks for bringing this back up as I had neglected to test it on 7.5. It is still broken there also. I reported it and hoping for a fix before the final release... not holding my breath for it though. If it is still not fixed when it goes final I will post a work around on the same blog post. |
|
|
|