Tuesday, April 9, 2013

Solutions to email reminders

2 Solutions for Vacation Calender App

So the problem I am facing is how to implement what I think is one of a few tasks required to make my vacation calender app.  The one I am focusing on now is the automated e-mail.  Sending an e-mail in php is fairly moderate in terms of difficulty but since this is ruby I am now sure how to implement it.  To my luck however I found a small starting point in understanding how to do it in ruby thanks to overflow stack.

Here is the link:  Automated e-mails in Ruby

Now the code here is great if you want to send e-mails by typing, but I'm looking for a way where the users don't have to do anything, while a program that is running behind the scenes automatically sends an e-mail for you to the users necessary (employee and managers).

This site is another great starting point to understanding how e-mail works on ruby and how it processes them in the language.

Here is the link: Sending e-mails through Ruby

After these two helpful sites I have a general idea of how to make this process automatic without the user doing a thing (although I know exactly what to do if my app requires a button that will send the e-mails to both managers and employee separately).

 Now another problem I have is figuring out how to put an entire calender onto html.  What I mean by that for example is when you go to a site like Hawaiian Airlines or United Airlines.  When you want to book a flight you can chose to type in the date or pick a date on what looks like a digital calender sheet.  I need to figure out how to pop up the digital calender sheet in HTML or whatever it is in.  Basically I want to add a calender to a date field in HTML.

Searching for this is quite challenging especially because I know what I'm talking about but I doubt you my viewers know what I'm trying to say let alone google.  What's funny is I know that you can use PHP to solve this and thats what all the articles tell you to do but I would like to know how to do it in ruby.

This is a great start: Get a feel for the calender code

The above site is not what I'm looking for but a nice starting point.
Now that I have a feel for the code in PHP, now lets move it to something I might be able to use by searching a calender view that can be used in ruby.

This is a step forward: Didn't know Ruby had a library for this

Now I honostly didn't know ruby had a "gem install calendar_date_select" command for it.  I'm not surprised as Ruby has many.  Of course you have to download it and install it into ruby but its all on the site.  But as I looked further I found this

Here is the link: Calender date picker

Now if you look at this link, it shows you what it looks like and its what I have been looking for.

Now the last 2 sites give it the same name "calendar_date_select".  But one site says its made from Tim Harper, the other says Tim Charper.  They might be the same, not sure have to inspect the code carfully.


The solutions I am looking for are out there I just have to find them.  Thankfully the community for Ruby is strong.

Thank you.

Re do of Late Assignment

4 Screen Shots


So this is the first screen shot of the built in rottenpotatoes running


Here it is. Running.  The video showed us how to set up the VM on our machine.
I got further in understanding Ruby and by far I'm liking it so far.  It reminds me of php but I like how ruby makes it easier to put data in the database than using mysql syntax (which php makes you do to talk to the server).

2.2.1 Cookies:


So it seems that the cookie expires until the end of sessions.


2.3.1 HTML : 



So the page source shows you all the html code from rotten potatoes.  If you look at it further you can see that it also uses jquery and javascript.

2.4.1 CSS:


Here is the css div #main.  The padding and margin have been defined here.
I could only see parts of the css from sections and not a collection of it used in an entire web page.

The dropbox links should be the same as the ones I posted, if not here they are.

https://dl.dropbox.com/u/140409885/pic1.png

https://dl.dropbox.com/u/140409885/pic2.png

https://dl.dropbox.com/u/140409885/pic3.png

https://dl.dropbox.com/u/140409885/pic4.png

Thank You.



Wednesday, February 27, 2013

Lifehacker Blog Review

So I chose the lifehacker blog (http://lifehacker.com/) to talk about.  At first glance I picked this blog site because of the title.  To be honest, I thought before clicking on this link that the site would talk about actual hacking, like security hacks.  I was very disappointing to find out that it doesn't have anything about network exploitation.  However I found this site interesting.  Everything is in the middle.  I mean everything is aligned to the center of the web page.  With an ad at the top and allows you to sign in.  The site talks about many useful things to help improve your life, like linking email accounts or ways to save up money with useful tips and products.

Now I read his posts about syncing 2 gmail accounts.  Click here to read the blog.  I find it interesting but I have my own reasons on why syncing email accounts is a bad thing.  If you don't mind it then you should read this because the blogger really explains how to do this, it makes it simple to do.

Blog Screenshots of 4 Videos

2.2.1 Getting started:






So in this video we learn about how to set up our VM on our computer. I found it very helpful.

2.2.1 Cookies:


Cookies are amazing, to bad you can manipulate them with javascript.  I also find it very helpful to use wireshark if you want to see a better version of a packet header, also shows which art is the cookie to.

2.3.1 HTML :


The hierarchy of html is fascinating, well to me at least.  I personally enjoy using css, since pure html is just so very static. Yes html was built to be static.  Luckily the next video introduces us to that.

2.4.1 CSS:

I really like CSS because of what you can do to create really nice layouts for websites, such as 3 column websites.









Wednesday, February 13, 2013

Stakeholders for Tennis Program

I'm not sure what my project will be yet but I have decided between the tennis program or an undecided program for a company (for-profit).

For the Tennis the stakeholders would be the coaches and the players. Players benefit as they would have statistics to show them how they're progressing and coaches benefit for the same reasons.  The school indirectly benefits if the program helps improve team performance.

Tuesday, February 12, 2013

Response to Comments

I did watch the video after making the blog, I however created the blog first.  I'm very new to creating and making blogs. When blogger asked me to make a name for the blog I thought it was only for my eyes only on my side and not the actual title.  I honestly gave up trying to fix it after 30 minutes last week trying to figure it out.I thought there would be an html interface builder like wix.com so I could create the title and posts.

Monday, February 4, 2013

Project Idea 3

Vacation Organizer System


Problem Description:
The company i work for organizes employee vacation time on paper and calender.  I propose my idea to help them out is to create a program that runs on the internet and helps provide staff with a tool to easily set up vacation dates and reminders.  Problem with paper is if you lose it, then you lose the dates.  If you set it up on a program on the internet than you never lose info since its on the cloud.

System Capabilities:
- Program should store and retrieve vacation date info
- Displays built in Calender
- Sends e-mail to individual and owner of reminders of upcoming vacation dates.

Business Benefits:
- Ease of mind
- Improves vacation cordination
- Maintain correct info of data