Is web development possible using Google Sites? - html

I have hosted a website. But now my client asks to change it to http://sites.google.com. They have registered their domain with Google.
I logged in the site and saw the procedures to create a website from scratch. But is there any way to directly replace the site into google sites. Like, in my site, I have included CSS files in a folder called stylesheets/css and access it through the link tag. And there are several folders like that: images, scripts, etc.
Now, if I have to transfer it to Google Sites, where do I create the folders and stuff? I have the priviliges to login to the admin part of the site.
And also, is there anyway to create a database and access it in Google Sites?
Also, I see that only HTML pages can be created. Is there a way to add PHP pages or other scripting languages?
Going forward, will Google Sites be useful for professional web designing?
Can anyone provide any ideas on whether or not Google Sites is a good idea for a professional webmaster to use?

You should consider hosting your solution using Google's App Engine instead of Google Sites. You can set it up so it uses PHP (see link below), you can configure it to use your domain name and you get enough CPU, disk and bandwidth allowance to serve around five million page views for free each month, if you are serving more than that, their prices are extremely competitive.
Google App Engine: http://code.google.com/appengine/docs/whatisgoogleappengine.html
How to setup PHP using Google App Engine: http://blog.caucho.com/?p=187

Related

App that uses cloud storage provider

I'm in the middle of designing an app that will help manage your life better. I personally like having control of my data. So instead of storing everyone's database on a server that I provide,
I want the user to use their own personal storage through providers like google drive, dropbox, onedrive, etc. The reason for this so that an android app, ios app, desktop app, web app, etc can all be in sync if the database was pointed to that storage provider.
I would like to know a few things if any of you have experience with this:
What would be wrong using this design for storage? Greater chance for apps to be out of sync? Slow performance? Chance of corruption if user messes with database directory?
I couldn't find any articles of an app that uses this method. Does anyone know of any articles on the web or your own personal words on how to go about implementing this?
I would like to hear your thoughts on this and reccomendations.

Can i build a Master - Detail webpage in Google Apps Script?

I have a complete application in MS ACCESS which I am planning to re-do as a web application , (but searching for the right platform).
Google Apps Script has several advantages, however I need to confirm if it allows building a full-blown web app.
For example,
Can i add a login security page when user first opens the web page ?
Can i building a Master - Detail web page using Google Apps ?
_
Finally, coming from a MS ACCESS background, which would be most suitable choice of database to migrate to so things will work with Google Apps Script ?
Can i add a login security page when user first opens the web page?
Yes, you can. You'd have to get the credentials from somewhere and, unless they come from LDAP which I'm pretty sure you can't connect to, you will be able to handle them
Can i building a Master - Detail web page using Google Apps ?
Not sure what that is, but if you mean a complex HTML page then yes, you can.
Finally, coming from a MS ACCESS background, which would be most suitable choice of database to migrate to so things will work with Google Apps Script ?
This depends on how many queries you have to make, and how quickly you want them handled.
If it's small, you can use SpreadsheetApp itself.
If it's bigger, you can use BigQuery, JDBC, or something else.
And if it's even bigger, you will probably want to dive into Python, PHP, Java, or some other backend programming language.
Exporting tables from MS ACCESS and importing them into another DB software shouldn't be too much of a problem.
Lastly, who am I to answer this specific question? I come from a MS Access background myself, migrated over to Google Apps Script back when they had the UiApp and ScriptDb APIs, had a little bit of fun with HtmlService and I soon realized that for serious stuff, I need to have my own server, due to high latency between request/responses - so I started learning Python + Django.
These, in my opinion, are your options.

How to password protect website hosted on Amazon Web Services (AWS)

I wanted to create a website that would be like a dropbox of sort, which just has files that me and my organization can access. I wanted to password protect the website, just a simple username and password. I have my own domain. I have been looking all over the web to find how to do this(I am a beginner) and found that using httaccess and htpasswd would be used to secure a website similar to what is shown here: http://www.htaccesstools.com/articles/password-protection/
But I cannot seem to get it to work. I am using the s3 bucket and putting the httaccess and htpasswd file in the same folder as the index.html file. Do you know how I would get my site to have a simple password protection(thats not seen in the source code or by typing in the html)? I am not sure if I am finding the directory correctly or not to implement this password protection correctly. Thank you for taking the time to read this and hopefully this makes sense!
Anyone else had this issue?
Amazon AWS alone won't do it. htaccess and htpasswd are also not the right tools for what you want to do.
Get yourself a cheap hosting account with a company like hostgator or godaddy or namecheap or any other that will host your web page and give you PHP and MySQL.
You cannot accomplish what you want just using javascript/jQuery. Those languages run on the browser, but you want to store your files on a server. Therefore, you need the language that controls the server - that is usually PHP. (The other popular solution is ASP, which is by Microsoft and runs on costly and complex Microsoft servers -- PHP is free and runs on (free) Linux and is therefore what ALL of the cheap web hosting companies provide. MySQL is the (free) database that is analogous to Microsoft SQL)
Next, watch a video tutorial on creating a PHP / MySQL login system, such as the ones over at:
phpAcademy (now called codecourse, apparently)
theNewBoston.com
You need to learn more about:
PHP sessions
Ajax
jQuery
MySQL (possibly)
On a basic website, you can stick your files into directories and control who can access those directories by whether or not they are logged in.
You can determine if a visitor is "logged-in" or not by asking for a username/password and setting a session variable. Session variables are just variables that are stored on the server, rather than on a user's own computer (of course, that wouldn't work since every visitor has his own computer and your files are stored on a central server -- so that is where the security (variables) must reside, right?)
Anyway, in a weekend of video watching and trial-and-error you can probably get something cobbled together that will do what you want.

Using A Complete Office Word Editor In My Web Project

We have a requirement in our web project to provide users create, edit and store their word documents in our application for their reporting purposes. I see there is already an online option from Microsoft Office here. But seems like it works in the Microsoft OneDrive cloud. I want to learn if there are any way to use only its Editor hosted by our own servers. I mean, the documents will not be saved to OneDrive but we will store them on our own servers and also the editor URL will be available from our servers too.
If this is not a possible option; what are your suggestions for a complete featured HTML based Word Editors? (with page setup, page breaks, table editor and export as word document features and all)
--
You can use sharepoint to do this. You need the webapps feature

how to implement a website with cloud storage?

I want to implement a website interface, where the website consist of multiple users and one admin , each user can upload/ download data to the website with some privileges to each user. the data should stored in a cloud such as google-cloud.
i am planning to implement the website using html ? but how can i connect the google-cloud with my html pages?
thanx
Seems like the Google App Engine is exactly what you want. Using Java servlets and Javascript, using python, using php, or using Go, this can be achieved.
And the App Engine gives you a bunch of solutions for storage (cloud storage and
blobstore).