Load time for a published web app is too slow [closed] - google-apps-script

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
The execution time for the scripts is slower. Although this much in a browser is great.
And, The published web app's load time is highly intolerable, that contained junk ( Probably because the UI is done with UIBuilder and the spaces were taken in unicode characters or whatever ).
Two questions here.
For seamless responsiveness, Is that the script folks wished the complete javascript be loaded and run in the browser and there is nothing we could do about it ?
Any optimizing techniques we should look for.

I have found that hand rolling the html and delivering with HtmlService is significantly quicker than UIService. This obviously depends on your circumstances depending on how confident you are scripting your own validators and onEdit functions. But as a possible optimisation this is where I'd start.

Related

Creating a application in a website [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 5 years ago.
Improve this question
If I wanted to create a small program, perhaps a calculator or something, what language would I use, and how would I implement it?
Very new to coding, especially with websites so sorry if it's a dumb question.
This is a very vague question with so few specifics that it could really be answered 1,000 different ways.
To get you started with your reading though, I would suggest you read up on the differences between server-side and client-side coding languages for the web. That will help you understand what languages you would want to use and for what reasons.
As a general rule though, most people would likely build a simple app like a calculator in javascript, as it doesn't require a lot of interaction with the server, doesn't utilize any data storage, and would run on the users machine rather than tie up resources on your server.
Happy learning, and if you want a lot of responses on this site, you should include more specifics in your questions. Such a broad question is very hard to answer with any sort of brevity.
You can start with HTML, CSS and Javascript. www.w3schools.com is a good source to learn HTML, CSS and Javascript.

How to deliver new features (Website) [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 5 years ago.
Improve this question
I have recently been thinking about one of my websites. It's getting big and gaining a community and I have realized; how would I implement new features. Would I code instantly on the website or would I have to pull a backup and code on it then put it back up on the server. Because both methods seem to be inefficient.
Would there be a way that I can do such a thing, like a version system (similar to apps)?
Create a duplicate, test your code until you're satisfied. Check the edge cases. Try to break it. Then, when you're sure it's solid, roll it out to your users during very light usage because you might need to turn off the whole site during the upgrade.
Testing, testing, testing is they key.

Measuring Software Popularity [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
Does anyone have any ideas on measuring the popularity of an open source project? I thought it would be interesting to create a tools which would compare the popularity of similar open source projects.
The first metric that came to mind was to compare the number of Google results for each specific software, but it seems difficult to programmatically obtain this number (other than scraping it from the direct search page - this also runs into legal issues with Google I believe).
Any other metric ideas? I'd like the end product to be a tool, so metrics which are able to be accessed through code would be preferred.
Thanks,
Chris
If the projects are hosted by platforms like Sourceforge or Github, you can access the number of downloads...
SourceForge offer download statistics;
http://sourceforge.net/project/stats/detail.php?group_id=263007&ugn=dvwa&mode=week&type=prdownload
Google Code have activity ratings.
Maybe you could use those?

Automatic bookkeeping for exception retries [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
Do any languages that support retry constructs in exception handling track and expose the number of times their catch/rescue (and/or try/begin) blocks have been executed in a particular run?
I find myself counting (and limiting) the number of times a code block is re-executed after an exception often enough that this would be a handy language built-in.
This is a really interesting question. I did a little research and apparently there is a design pattern called the circuit breaker pattern which was developed to handle such things. I have never heard of the pattern before and can't find much information about it.
There is a library which handles retrying an event for .NET available, might be worth a look. Heres a link to an article about it:
http://www.tobinharris.com/past/2009/1/26/net-circuit-breakers/

What criteria do you use to quickly determine if a github project is finished/useable? [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 7 years ago.
Improve this question
When I browse github I have a hard time differentiating high quality code from half-finished crap without taking a serious look at the code. What are some good ways to quickly size up a project? Rubyforge allows people to designate a "Development Status". SourceForge has a "recommend" feature. Is there some feature that I've overlooked? I just look at the number of forks and watchers. Is there a better way? I don't see a checkout count, or any other measure of popularity.
I would check for documentation. Well advanced code should have associated documentation, while fledgling projects are too busy getting their code and architecture done to create documentation, which will probably have to change by the time they release anyway. Basically, writing documentation says to me that you think the code is stable and functional enough for users to be able to benefit from it.
Recent activity is a big one. If the project does not have recent developer commits or there are open bugs, tickets, issues, questions, etc without developer responses then move on.