The last few days I have been able to do a lot to finish my web portal. I was able to get my Alchemy Servlet working and using Twitter Bootstrap, I was able to format what I have done into a good-looking webpage.
As I said earlier, using other code when coding for new things is very important. I was lost when I began to create my Alchemy servlet. However, when I realized that I could just base it off one of the test classes I was given (in my case EntityTest) and the previous servlets I had already created, my job became a lot easier.
I also was able to create two servlets for one function. In Alchemy's EntityTest, it can ask either for a url or a block of text. By creating two servlets, one asking for text and one asking for a url, I was able to show both of these options on my webpage, each with their own submit bar and their own code. This allows the user to choose whether they want to insert text or a url as they now do not have to be forced to enter both.
Also, after installing Twitter Bootstrap and following a tutorial, I was able to play around and get my webpage to look very good. Instead of being the plain white and black home screen I had before, I now have a more appealing colorful webpage that has many different sections including a about us and contact us page. While I'm still working out a few kinks such as adding a margin to the left side of the screen, it is really coming along and I hope my tutorial and videos can help you do what I did.
No comments:
Post a Comment