What is the different between scriptcs and roslyn scripting? - roslyn

I would like to know the difference between Roslyn scripting and scriptcs? I understand that scriptcs is built on top on Roslyn but would like to understand what the extras are that scriptcs providing to me as a developer?

The biggest advantage is that the is out of the box support for ScriptPacks via NuGet.
There are additional benefits such as hosting scripts and dynamic loading/line mode processing as explained the the accepted answer here: scriptcs hosting - Advantages over Roslyn

Related

Do GCP or AWS support C++ and GUI app development?

I am interested in developing web apps using the following technologies on the cloud:
1) C++
2) A GUI tool that can be called from C++ (such as wxWidgets)
I have checked out GCP (Google Cloud Platform) and AWS for these 2 technologies.
In general, I have found that these 2 PaaS sites support the following technologies for developing web apps:Java, .NET, PHP, node.js, Python, Ruby, Go.
Therefore I'd like to ask if either of these PaaS sites supports C++ development including GUI apps built using C++?
I haven't used AWS myself but I can provide some insight on GCP.
In short, C++ is not supported on the native runtime environments provided on App Engine (which is the PaaS solution of GCP). You can see this answer for more details on this.
However, there are some workarounds available you could try to see if those fit your needs. Firstly you could make use of the App Engine Flex custom runtime environments where you will be able to run in an environment defined by a Dockerfile which will allow you to use your own runtime environment. You can refer to this quickstart guide which goes over the steps required to use custom runtimes. Make sure that your C++ app that will reside inside the docker container works as a service that is up and running continuously serving incoming traffic through HTTP otherwise you might end up stumbling with the same problem described in this Github issue.
Alternatively, I found this article that goes over the steps to implement an architectural pattern for invoking legacy code on App Engine.

Regression testing between test and dev environments for 1000s or URLs?

I need to provide assurance over changes made to a site with 1000s of URLs.
What is the easiest way to do regression testing between a live and dev environment with the following structure?
e.g.
www.website.com/unique_web_page.html
dev.website.com/unique_web_page.html
Need to do visual regression testing and capture any Javascript errors in console and any 404 assets.
Is there a third party tool that will do this that can be recommended? SAAS online?
Assuming I understand that you don't need any of the usual tools (e.g. Selenium), I would suggest to take a look at jsoup. The tool
provides a very convenient API for extracting and manipulating data, using the best of DOM, CSS, and jquery-like methods.
This question discusses how to deal with status codes.
As for visual validations you can turn to galen framework. It offers good syntax of checking the look and feel of the sites.

How do you integrate Cucumber/Jasmine in Hybris v4.8.7 Ecommerce Suite?

I am looking to integrate Unit Testing i.e. Jasmine/Cucumber to help to my development. I know its possible but require step-by-step guide to how to do this on Hybris v4.8.7.
The best source a detailed step by step guide is probably the Hybris documentation.
Extending hybris is a matter of building Hybris plugins. They are build like any other Java project.
The answer to your question is therefore a matter of which build tool you are using to build your extensions.
If you build using Maven, all you have to do is to add the tests to the proper location and add a dependency to a unit testing framework.
src/test/java/...your.package.../FooTest.java
This is unfortunately as detailed as you can get without sharing more details.

Offline wiki-like authoring tool

Does anyone know if there is a help authoring tool out there that can produce help documentation for a software product that looks like a wiki? We are currently using the Confluence wiki engine, which is absolutely brilliant and we were wondering if there is anything like that but without the need for an Apache server. Something stand-alone that can give our users the help documentation they need. We have used help authoring tools and they all seem so clunky compared to a wiki.
Use Wiki on a Stick.
Its a single .html file written in Javascript/html and saves the changes onto itself.
You don't even need Apache. Awesome tool!
How about Juli? It generates static HTML so you can browse documents by browser only.
It is used for:
Juli documentation itself.
Edgar project documentation (another my OSS project).
My personal wiki/blog. I'll show later since new users can only post two links(stackoverflow limitation)

Web technology for a first small web project

I'm a C++ developer with basic Python skills. Here's the task, a friend of mine is running a small company and he asked me if I can make a website for him. I have no real deadline so I think it's a perfect opportunity to try sth new and do some web development.
User has to be able to add photos, change texts ect.
Do you think that Django would be an overkill for this kind of project? I have no experience with it. Perhaps I should try to customize some blog engine or Google Sites?
You may be interested in Google App Engine (http://code.google.com/appengine) which recently exhibited a rise in popularity. The application runs on Google's servers, eliminating the need to maintain Apache and worry about up-time. You basically get a Django-based solution with a data store, with an SDK which allows you to conveniently develop an application on your desktop and then upload it to appspot.com for everyone to use.
The documentation is great, and even if you eventually decide not to use it, the tutorial is excellent for getting you up to speed on Python and webapp design. There is also a codelab which contains a simple Wiki example.
If you need to set up quickly a very simple website, Wordpress can be the perfect choice.
Wordpress is born as a blogging platform, but in the newer version you can manage pages, contact form and so on. And you can find good plugins to expand its capabilities.
The administration interface of wordpress is clean and easy to use, the page or article editor is simple and powerful. Add an image in a post or in a page is easy and intuitive as in no other opensource CMS I've seen.
Django is a pretty flexible framework, it tends to scale well both up and down. It may be overkill to have to learn the whole API for just a simple site, but if you're looking to learn something new, and have some time to spare, then it's a fun platform to learn and work from. My suggestion would be to install the API and have a play around with it, read the Django book and see how you get on.
Maybe before diving into Joomla or Django a first step should be working with the technologies in a raw, pure way. Create a simple web page that excutes some server side script (python? php?) that retrieves data from a mySQL database and displays it. Throw in a little javascript too. Just so that you feel comfortable with the bare-bones fundamentals.
Then when you dive into the big frameworks and libraries, they won't seem so magical.
If you're really asking what the best tool for the job is, then you are going to have to give a little more detail than "first small web project." If what you are asking is more along the lines of you want to learn web application development and what you already know is C++ and python so what would be a good web application stack where you can leverage your current skillset, then here are some more suggestions.
Django is pretty cool. Every one has already talked about it here. As mentioned earlier, the google app engine is sort of based on Django.
Also, consider zope which is another python based web application container.
If you wanted to leverage your C++ knowledge instead, then consider Wt.
Why don't you take a look at the hello world examples for all three and decide which one looks the most interesting to you?
There are a multitude of website frameworks and kits that you could go with as opposed to starting development work from the ground up. It really depends on what kind of technology you want to go with, and how comfortable you feel with the language's potential. As mentioned above, there are things like Joomla, and If you want to stick to PhP frameworks, you could also use Drupal, which has a ton of documentation and support, and is relatively easy to understand.
If you want to venture into the Microsoft realm, you could look into DotNetNuke. It too is much like Drupal and Joomla, so it's a nice CMS framework, which you might feel more comfortable with since ASP.Net is based off of a programming language as opposed to a a scripting language, unlike Classic ASP or PhP. If you're going to go the Microsoft route, I also recommend taking a look at their BizSpark developer program - but that's more dependent on how serious your friend is on running his site as a business.
Then you also have a lot of things offered up by Google, such as their charts and visualizations -- which doesn't seems like something you're looking for, but for future reference, or cool little things like a map mashup.
It really depends on how much you're willing to learn and how much time you have and sometimes not having a rough deadline is the worst possible thing that could happen. Naturally everything starts to take longer. By the time you're done, the tech is either out of date, or you've taken so long that the business plan has changed.
using django it is easy, there is already an application for photo albums available at http://code.google.com/p/django-photologue/ it becomes with tagging too and maybe you just need to add some jquery effects to get done your site.
To get this done you just create a django project, add the applications to your settings, configure your urls and templates, and thats it.
Also i f you need a small version you can just use this code as a base of your new app.
have fun with django!!
sergio
Pylons is an excellent Python web framework based on WSGI standard. It has ported many of the features of Ruby on Rails so is great for rapid development.
I've been using it for a few years now combined with SQLAlchemy for my database layer and I've found it perfect for development of all my web sites.
It is easily good enough for production sites too.
The one downside I've found is slight complications getting it deployed on shared hosting but as long as you have shell access to your host, you should be fine.
You may try to install and customize Joomla (http://www.joomla.org/) It's full of stuff, easy to use and easy to customize also.
Everybody reaches for a framework, but, assuming this is running on Apache, why not just server side includes, and, since you have Python experience, Python CGI scripts that emit JSON for use in the UI by Javascript. By going with CGI/SSI you defer your decisions about framework and/or templating system until later, when you have more experience under your belt, but you should be able to get a reasonable amount of re-use of whatever Python code you write.
I'll cast my vote for Drupal (http://www.drupal.org)
I think LOVDbyLess might do exactly what you want. If all you need is basic blog and photo upload and a simple SNS, then check out this Ruby-on-Rails open-source thing. It's been evolving with new features and is pretty easy to set up.