How do I send my finished website to my client? - html

I've been learning web development, and I would say that I'm at a point now where I consistently make websites the way I want. However, I have one last hurdle that I can't find any answer on the internet for. Basically, from what I've seen, on Fiver and such, web developers directly connect the commissioned website to the clients domain and host, and then all the client has to do is go to the domain.
My question is essentially just that - how would I get my final finished product to my client?
I'm sorry if it's a dumb question, but I genuinely cannot find any answer for this. Thank you!

Related

Industry Standard for Single user web app

I am new to web development so this question might be basic. I was asked to create a photography site in node.js for a friend. I want to create a way for only her to login to the site and fill out forms and update content. Should I put the login link on the main page like other web apps or create a secret route that she can go to and login?
sorry for the newbie question.
I have googled extensively on this subject and even took an online web-developer course. I cant seem to find the answer anywhere.
Google Firebase has some pretty good authentication stuff for applying access controls. It really depends what kind of security you need.
Consider this. Some other user gets a hold of the route that you've provided. Your client's site could be completely sabotaged.
My suggestions is to check out Google Firebase Authentication it will be worth while to know that suite if you are doing independent contracting work.

Trying to re-design a website with unknown origins

So this is going to be a kinda complicated, frustrating question.
SO I recently started working for a company doing a lil marketing/social media. One of the things they wanted me to update was their website (refresh the look and layout and update the design) I've never built a website (i mean I have a Wix portfolio but..) and have had little HTML experience, but I've taken a bunch of c++, python and other coding classes and also really like figuring out new things. Their IT guy now works for another side of the company and is very weird about relinquishing the passwords for the various social media sites and whatnot. When I finally got the admin passwords for the website I realized that that only lets you change the words on the website or add new info. There is no layout/coding capabilities at all. He also gave me the FTP access and the username and password for that. He was very weird about me changing things (even though the CEO asked me to) and won't give a straight, comprehensible answer about the capabilities we have with this website! The original person who created the website is no longer here and they can't seem to find his contact info.
So my main question is, how do I use the FTP info? Do I simply just download an FTP client and login there???? Will it even be possible for me to access this websites infrastructure? I just kind of need a starting point on what I should be researching/trying to do.
Sorry this was so long and feel free to ask questions because I bet I was a little confusing.
PS. I don't even know what host it was built with like Wordpress or ya kno
Do you know where the website is hosted? Ask him for the hosting provider login. Once you have that, you will be able to see what sort of installation you have there, and to obtain the credentials you'll need to FTP in via Filezilla or a similar tool. If he doesn't give you the info, take it to your boss and have them apply pressure from above.
He might have added you as an author or a user that's not an admin. Make sure your an admin.
The FTP can be accessed from the hosing service, but you mentioned that he didn't give you the details. So download Filezilla to access FTP.
Hope this helps.

First Website - Security Concerns

I have taught myself HTML/CSS and some JavaScript as a hobby, and have reached the point where I am comfortable building a clean simple website. The company I work for (we do nothing related to coding) has a website that is quite outdated so naturally I saw this as an opportunity for my first live site. I approached my Managers at work to take a look at my first mock up and they loved it and want me to revamp our current site.
The one concern they have with me being a rookie is the issue of web security. Essentially they want to make sure that the website I build leaves no vulnerability for someone to hack through our server, start editing our website, etc.
There are no interactive components to the current website. I plan to build this website with only HTML and CSS, and perhaps add some JavaScript later down the road once I progress in my learning a bit more. There are no account logins or areas to enter personal information anywhere on the site.
My question comes down to this -- what can I do to ensure that the website I build is not leaving our company vulnerable? I have done a lot of searching around Stack Overflow and other websites but I am not confident I am finding the correct information.
Details that might make a difference:
Our company website is hosted through godaddy.com
Our website is currently on Wordpress, but I will probably not use Wordpress for the new website
I greatly appreciate all of your help!
since there should be no direct interacting with the server ex PHP and AJAX only HTML CSS and js there should be no security issue, as js and HTML can't edit/delete/read server files, only server-side programming can. eventually you may want to invest in PHP almost no website is complete without PHP or AJAX. take me for example, I used to use just HTML, CSS, and js. then I wanted to do more.. log form answers to a file, show different pages based on the query string. these things are virtually impossible in a HTML, CSS, and js only environment. I would also recommend atleast getting free protection from cloud flare.. they give free shared hosting wildcard SSL, and free DDOS protection, granted for a business you might want to invest a little more than free but free would be a good starting point
also you could pay someone to test the vulnerability of your company, take for example OurMine. a legal hacking group.. you pay them to test your security and they do just that. (they claim they don't log anything that they get) otherwise there might be vulnerabilities you may not be aware of
When you are concerning about just AJAX call, I would help you out for following suggestion regarding "Function access rule from AJAX".
By adding "_" as a prefix for Function name, we can prevent function to be called from The Web publicly. This is the best practice when we need some specific function to be accessed via AJAX only.
Kindly, refer my answer given in other question.
[Website Security: How to learn?

How to database iOS app data and display it on a webpage

First time post here, so forgive me for any bad etiquette/format.
I will preface by saying:
I have (over the last few months) been developing an iOS app for work. To be more specific, I am developing an inventory app to track bar inventory (liquor, beer, wine, etc). I can give more specifics on request if needed. I have most of the functionality done, only a couple more things I would like to implement. Eventually I will be porting it to Android as well.
At the moment, I have the model objects being archived to the local filesystem for saving and loading of data. However, my goal would be to database the model objects with the ability to display the information on a webpage. My logic is that no matter where the user is, he/she will be able to sign in to a service using a username and password, and view correctly formatted current/past inventories online. This is to allow the ability for a bartender to record the inventory, and have the bar manager view the inventory instances without having to have the physical device that recorded the inventory in his/her possession.
So here is my question:
Without being too general, what kind of service would I need to pull this off? I have a good amount of relevant front-end experience, specifically with iOS, Objective-C, HTML and CSS. However, I have ZERO experience on the back-end. I have researched around the internet, and I am aware of things such as cloud databases, web hosting and MySQL, etc. However, I cannot seem to find a definitive answer without asking my specific question. I suppose I would just like to be pointed in the right direction before investing money and time into a service that may prove useless to my cause.
Any resources and help would be greatly appreciated. Thank you!
There's not a definitive answer and you have a lot of options.
For me, the simplest is to set up a server with a database incorporated (mysql for example) and with a web service (written in PHP for example) that manages the database and queries on that.
Online you can find tons of guide on how to write a script in PHP that manages a database:
http://www.freewebmasterhelp.com/tutorials/phpmysql/2
For the iOS part you can follow also this guide:
http://www.techrepublic.com/blog/software-engineer/create-your-own-web-service-for-an-ios-app-part-one/
Good luck!

Should I use PHPMailer or SwiftMailer? [duplicate]

This question already has answers here:
Closed 11 years ago.
Possible Duplicate:
PhpMailer vs. Swiftmailer?
I have always used PHP's built in mail() function and it has always worked for me without fail and does the job I want it to.
Now some maybe thinking 'Why fix something that isn't broke ?'.
My answer to these in case someone asks is:
I have never used a framework before if that's what they are classified as or perhaps they are called a library I don't know.
I want to start using one and have looked over the documentation and both seem very easy to use.
As I implement new features into my site, my site is depending more on sending emails etc meaning PHP's mail() function is not up to the job any more.
They would be easier to use when dealing with advanced things like attachments, html and text versions etc; that would otherwise be difficult or impossible using PHP's mail() function.
I have never used SMTP, and I have looked into it and I can see I can use it along with SSL on my hosting package. After plenty of reading it seems that not only is SMTP more reliable and more widely used, emails are less likely to be marked as spam, using either of the frameworks will improve performance, reliability and more secure because it uses SMTP with SSL.
Now I am not sure what the other benefits are using SMTP, maybe someone could give me some more reasons why it's better? I am looking to find out more information about SMTP benefits.
I have looked at both documentation looked at the features they both offer, searched google for PHPMailer vs SwiftMailer but not found anything saying why one is better than the other.
Does anyone have experience with any of them?
Does one have more benefits than the other?
Would you say one is better than the other?
I did read a lot of people saying PHPMailer was a dead project but those posts was relatively old. Looking at PHPMailer's website it seems the project is and has been back in development for some time now.
Thanks for anything you can provide on either PHPMailer and/or SwiftMailer. Hopefully I can decide on one or the other as at the moment I have no reason on why I would choose one over the other.
I say absolutely Swiftmailer.
It is written in PHP 5 and component-based; PHPMailer is PHP 4
It has a cleaner web site with better examples
It has better documentation
It has only one version flying around the Internet and not at least two, like PHPMailer has.
I've used PHPMailer for my projects and have no complaints about it. Haven't used Swiftmailer, but both seem to be pretty much the same in terms of usage and usefulness, differing only in implementation details. When you get right down to it, they're both just friendly interfaces to hide the details of SMTP email from you.
Pick whichever one whose style suits you best and go with it.
The only time I had to stray from the mail built-in function was when I needed to send an email from authentic "Gmail" account (client was receiving mail from our app in his spam folder).
In this case I used PEAR's Mail Extension which was really easy to use:
http://pear.php.net/package/Mail