seenaomi.net – blog

Learning in motion

Archive for April, 2015

Have mercy

without comments

So I’m creating two topical blogs, I believe I’ve mentioned this. The frontend isn’t complete but that’s ok, it doesn’t need to be just yet. I pretty much know what I’m doing with it anyways and it shouldn’t take much more time. As I whined yesterday we started coding (yay) the backend yesterday. So whiney. I almost deleted it because it was just whining and semi babbling. My brain, so mushy.

I started my database and created a few tables with rows. I’m doing 1 DB for the blogs which will live on www.seenaomi.net. MySQL is the DB and Sequel Pro GUI is being used to build. Also eclipse as the IDE, tomcat as the local server, chrome as the test browser, and the Googles for HALP. I also test final frontend changes in Safari because it’s less of a hippy than Chrome. Meaning it’s stricter with the rules.

After struggling but finally gettinIMG_0068g the test content INSERTed into the BlogPost table successfully I was then able to get it to display on the page. It’s not at all formatted and there’s a problem that I have to sort out. I had to comment out in the Java code that sets the posts as drafts. That was stopping them from posting to the page when requested from the DB. Makes sense, heh. I just need to figure out how to communicate that the drafts are no longer drafts. I want the posts to default as drafts. Drafts, drafts, drafts.

Then I need to code the Comments class, the Subscriber class, and Links class. People who visit my blog and comment I’m only going to require that they put a name, it can be any name though. They can opt to include an email address but it’s not required. No subscription or registration required. Subscribers will be asked to give their name, a name, any name as well as the city and state of which they leave. Oh and their email address, all these items are required.

Most likely I am going to create a contact form, it will be a single form that both blogs can access. I’m leaning towards incorporating the ability to subscribe from the form as well. Maybe if they check the subscribe box additional fields will appear to include city/state they live.

I’m on the fence about creating a links class because I’m not sure if I want to be burdened by the upkeep of the links. Meaning links go bad. I suppose there’s probably a way to mass test, who knows. I can’t be the first to consider this issue, lol. I’ll have to Google. So many reasons to Google. I have multiple tabs open on all browsers on all of my devices.

I really need to upgrade the ram on this mac.

I also need to buy a mouth guard, I grind my teeth when I code…

Written by seenaomi

April 18th, 2015 at 4:26 am

Posted in Allthecode

Coding is hard

without comments

Learning Java, the right way. The complete picture way is hard. It’s killing my mind and my confidence. But I struggle on. Lots of struggling. We are just starting. Today was the first day we actually were coding java. My part should have been easy, I was the example and a portion of my work was set up for me. Still I kept getting error after error after error. I have also worked with Java before. Several times in fact. It’s been scattered but I should still be better than I feel I am.

 

It’s just the first day. I shouldn’t beat myself up about it. But I’m that person. I cried when I came home from my first day of kindergarten because I didn’t learn anything new. I push myself. I don’t give up easily. I don’t admit defeat. Java will not defeat me!

 

It’s hard. It’s really hard. It will get better. It won’t be so hard after time. I just need to practice and work with it more. It will be ok.

Java is hard.

Written by seenaomi

April 17th, 2015 at 3:21 am

Posted in Allthecode