|
If you are starting a project, I strongly recommend you Nodejs (Javascript) for Backend and for FrontEnd Jquery, React, Angular, and soo on, Everything is javascript, don't break your head.
|
|
|
|
|
There are many languages that can help you with web development. However; the clear answer, in my opinion, would be JavaScript because once you have learned this language you can use it on the server-side (Node.js) and client-side as well. So start learning JavaScript then after that learn some framework which interests you. Thanks.
Cheers,
Jin
|
|
|
|
|
You can see there is no surprise, JavaScript is the king of Web development but Python is equally good.
|
|
|
|
|
My website, www.maroisconsulting.com, is hosted on Arvixe. I would like to create a folder, put some files in it, then allow an app I'm working on the download the files. I've never done this before and I'm stuck
Here's my download code so far.
namespace DownloadFiles
{
class Program
{
static WebClient wc;
static void Main(string[] args)
{
var fileUrl = "http://" + "www.maroisconsulting.com/SomePlace/SomeFile.txt";
wc = new WebClient();
wc.DownloadProgressChanged += Wc_DownloadProgressChanged;
wc.DownloadFileCompleted += Wc_DownloadFileCompleted;
wc.DownloadFileAsync(new Uri(fileUrl), @"c:\files\SomeFile.txt");
Console.ReadLine();
}
private static void Wc_DownloadFileCompleted(object sender, System.ComponentModel.AsyncCompletedEventArgs e)
{
if (e.Cancelled)
{
Console.WriteLine("The download has been cancelled");
return;
}
if (e.Error != null)
{
Console.WriteLine("An error ocurred while trying to download file" + Environment.NewLine + e.Error.Message);
return;
}
Console.WriteLine("File succesfully downloaded");
}
private static void Wc_DownloadProgressChanged(object sender, DownloadProgressChangedEventArgs e)
{
Console.WriteLine(e.ProgressPercentage + "% | " + e.BytesReceived + " bytes out of " + e.TotalBytesToReceive + " bytes retrieven.");
}
}
}
When I run, the Wc_DownloadFileCompleted fires immediately with the error
The remote server returned an error: (404) Not Found.
When I go in to the Arvixe Control Panel, File Manager, for my site, the file does exist. Again, this is new to me so I am probably doing something wrong.
Can anyone show me how this is done?
If it's not broken, fix it until it is.
Everything makes sense in someone's mind.
Ya can't fix stupid.
|
|
|
|
|
(Maybe) dumb question: What happens when you type the URL in the address bar of your browser?
Software rusts. Simon Stephenson, ca 1994. So does this signature. me, 2012
|
|
|
|
|
I get a 404
If it's not broken, fix it until it is.
Everything makes sense in someone's mind.
Ya can't fix stupid.
|
|
|
|
|
404 Not Found. That looks like an access/permissions issue on the server, if neither your WebClient or browser can access the file.
I know nothing about Arvixe, so you're on your own there.
Software rusts. Simon Stephenson, ca 1994. So does this signature. me, 2012
|
|
|
|
|
I am uploading the data from my excel into my sql table using
sqlBulk.ColumnMappings.Add(column in Excel,Destination column(sql))), Is there a way to if the value in excel is null replace it with 0
|
|
|
|
|
Hi everyone,
I am working on a browser-based document scanning application for IE it is fine as we can do scanning through ActiveX or Add-ons etc but when it comes to modern browsers like latest chrome, firefox and edge it is very hard to call any .exe or other is related functions from client-side .. What is the option to invoke scanner from modern browsers and do necessary file I/o on client end... Please don't mention proprietary software I prefer to work with open-source solutions.. regard
|
|
|
|
|
|
Kami Dehlvi wrote: prefer to work with open-source solutions Then, as already suggested, you need to go and search for them. The answer to this question is not going to change however many times you repost it.
|
|
|
|
|
Hi everyone,
I'm a language teacher, which means no programming or coding skills, but eager to learn.
I've spent the past day or two learning on how to create a website, domains, hosting and all that and there are a lot of tutorials on how to use WordPress and plug-ins like the Elementor which is quite easy to use and doesn't require much coding knowledge. Most of them focus on how to make stuff pretty and I got that part.
What do I need to use to create a database, so that people can register and then they get assigned an educational package based on their choosing or a diagnostic test. My web-page won't be that much complicated regarding graphics, but I am going to use a lot of layers, and it would be great if a person could log-in and continue where he stopped, if the page tracked his results, etc. Could somebody point me in the right direction, which tools do I need to use? Are there any tools like WordPress for this type of programming?
modified 16-Dec-21 8:03am.
|
|
|
|
|
I would suggest you make use of the Wordpress helpline, as they are best placed to advise you what tools are available for your specific needs. They may well have some off the shelf back end system which would provide for your database needs, without you needing to hire a database programmer to do it for you.
|
|
|
|
|
I have never used Wordpress before so I could be wrong.
If I understand correctly, MySQL is the core of Wordpress so you already have a database, you will have to find a plugin to save your data to the database, I have found one on google but you will have to pay for it. You can do it yourself but it will require you to learn PHP and SQL.
Have a look at this plugin:
[https://wordpress.org/plugins/ninja-forms/]
modified 12-Mar-20 6:24am.
|
|
|
|
|
To create and maintain a computer database, you need a database program, often called a database management system, or DBMS. Just as databases range from simple, single-table lists to complex multi-table systems, database programs, too, range in complexity.
|
|
|
|
|
Hi team,
I am facing the issue which is when we click on web print is disabled.And I disabled the web print but the issue is when i click on on web print the print dialogue is disappearing instead of the disappearing the dialogue box we can show there empty blank page im trying to do that please help me that.
Thank you
|
|
|
|
|
|
I made a pool 8 ball, in nodejs where 2 players put some amount of money to the server before playing, the server where they send money to my paypal account using the client id and secret, but if a player wins he must earn (his money + the oponent money - as_server_I_take_some); so how can I send money to the winner, is there any implementation or transaction to be saved (I use node js paypal rest sdk).
|
|
|
|
|
|
I have a problem with a push sidebar menu. When the toogle button is clicked the page goes to the right .The problem is that I want the side bar menu to be next to the page just like the example that is in the picture . Also when i scroll down to the page ,I want the side bar menu to be fixed. I am only using css.
https://codepen.io/sb90mng/pen/MWwyOmW[^]
This is the image — ImgBB[^]
|
|
|
|
|
Hi, You should update the code in your question so that it reproduces the problem (so when we click "Run code snippet" we more or less see what's in the image you've provided). For example, it looks like you're using Bootstrap, but that's not in your snippet. You could also replace images with placeholders from placeholder.com. It's hard to tell what the real issue is with the current state of the question
|
|
|
|
|
I know HTML... have been using for many years.
I know CSS... well kind of. Never bothered learning.
I've been jack of all trades for too long.
I want to get into Javascript and React...
But wanted to brush up on HTML and CSS and fill in gaps missing.
CSS - I want to know about layouts + how to make flexible for different displays.
What would be amazing for me is to see loooads of samples of layouts - starting from simple going to super complex and showing off CSS3 - but all in increments.
Just looking for some pointers.
Thanks.
|
|
|
|
|
CSS Tutorial, w3schools[^].
Bastard Programmer from Hell
If you can't read my code, try converting it here[^]
"If you just follow the bacon Eddy, wherever it leads you, then you won't have to think about politics." -- Some Bell.
|
|
|
|
|
FreeCodeCamp has a great online curriculum for learning HTmL & CSS and then Javascript and React if you want.
|
|
|
|
|
Download a static site with all the prebuilt html and css and view it in the browser. Next, think of some major or potentially difficult change you'd like to make to it with regard to layout, size, font, etc. With the help of the browser's developer tools, you'll be able to identify the styles that need to change for the elements involved. You'll learn something from the existing css, and you'll learn a lot by trying to mess with it.
Today, most people use a css framework like Bootstrap or Materialize for accomplishing the flexibility for different displays you're looking for. Read the API documentation for one of these frameworks and look through the examples. Alternatively, there's a nice React ui framework from Microsoft over at https://developer.microsoft.com/en-us/fabric#/styles/web
It uses the same responsive grid layout principles that have become de facto standard.
If you want to get into React, you're going to need to know some Javascript because React uses Typescript which transpiles to JS and you'll need to understand possibly both languages. Additionally, you'll probably see some use of Redux.
|
|
|
|