Wow! I can not believe how far I have got. I completed my final Project
I created a Recipe App using Ruby on Rails backend and Javascript front end. I used Javascript and Jquery to delete a recipe instead of just the rails backend. In my list of recipes aka the index page, I wrote a link using a HTL tag as such; Delete . when you click on this link it should delete the recipe.
In my recipe app you sign in and can create, edit, and veiw all your recipes. On each recipeshow page you can add comments witout the page rerendering using Javascript and Ruby on Rails. I incorperted javascript into y app. On each recipe show page I created a link that get the next recipe in your account without a page refresh. the format is in a json format. You can view the recipe in a json format. on the index page aka list of recipes, I added Javascript code that uses Jquery to retreive that recipe description attribute and display it without a page refresh. I also created Javascript code that uses a comment class and a method on its protoype to create comments on a recipe and then the data gets inserted into the DOM. I personally found this project to be hard and challenging. Due to getting married, moving, and my Jewish Holidays I had very litt;e time and had to tale many breaks which made it very hard. therefore i am proud of whta i created and see how much I love to code and create programs I hope to finish this program and become a bad ass programmer.
When I started brainstorming an idea for my rails project, I kept on doing back to my idea for the Sinatra project. I really wanted to implement the idea with rails and add more features to the app. So, I created a recipe app using ruby on rails.
I love to cook and bake. I keep all my recipes on index cards in a box. However, I find that they always et dirty and sometimes the specific recipe I am looking for is hard to find. When I started brainstorming for an idea for the Sinatra Project, a great idea popped in to my head. I would create a Sinatra web application that has all the recipes displayed for a specific user. You would need to sign up and/or log in to get into your account. No one can see your secret recipes. Now I do not have to keep all my recipes on paper. If you want to send one of your recipes to someone, you can.