Jump to content
athenastar17

Which language to use?

Recommended Posts

Hey, everyone. I'm new to the forums, but not to W3 Schools or programming in general. I've spent the past 3-4 days combing the tutorials for asp, asp.net, ajax, php, html5, cshtml, etc. and learned way more about each than I'm probably ever going to need. At this point, I'm only inches closer to completing my project than when I started looking through these (though I suppose I'm a better web dev for it), and there is only one question in my mind - which language should I actually be looking at to make this work? It seems to me after looking through each one individually that any language detailed on W3 Schools will work for what I need, but some of them may be easier than others. That's not something I can determine myself without knowing each language like the back of my hand, however. I'd like to ask your opinions - especially people who have actually used these tools to do similar things. I'd like to do something similar to Comicpress for Wordpress, but less bulky, and friendlier to mixed media. On one hand, if I utterly fail at this, I could just use Comicpress, but I'd like more control over the system and I'd like to only have the files and the processes and features that are necessary to do what I want to do. I've gotten a lot of recommendations from other artists in the same boat to write my own site if I can, rather than using a Wordpress engine. (I'd also like to just see if I can do it, improve my skills in web dev, etc...which is really what most of us are here for, right?)The layout I'm going for is extremely similar to what I would get out of Wordpress for comics....post-113587-0-63505800-1356113297_thumb.jpg The most important things are the back/forward and the comments (per strip) - and of course the ads, which will put food on my table, but I'm not too worried about those - those will come with Comicpress if I have to throw in the towel. The part that I really want to be able to include that Comicpress won't be very good at is the tiny audio bar underneath the comic strip. The only thing I regret about comics in general is that you must rely on lighting, etc. to set mood. I know there are Wordpress widgets for this, but none exactly what I had in mind. What I would really like to do is have music attached to the comic that does the following....1) continues to play over several strips as a "soundtrack" (and loops, and plays automatically). The strips are so short that restarting the music for each one would be less than ideal, and would get annoying pretty quickly. This also means the music should not be a playlist, but a single song.2) changes the song automatically at predefined scene changes, when the user hits the back/forward buttons and changes the comic. The music file for each comic should be stored/associated with it somewhere.3) can be turned off (or there's a different "version" of the site where music is not enabled) because this could be very annoying to some users that prefer to read their comics in peace and quiet. It's a cool feature, but certainly not for everyone. I'll be happy if I can get it working and then make a separate page entirely where that functionality is disabled, but it would be nice if it was an switch/checkbox/button on the page that could be cached to that user. Things I've tried...At first, I thought about using AJAX to reload the strip, ads, and comments, and only load the music when the strip changes. Still unsure whether this is the correct/easiest method.Then I found a web widget that "autoresumes" play when a page reloads, which I would be fine with, but I believe it may be impossible to tell it not to resume, and to stop playing the song it's on and play something different. It seems to behave like a playlist as well, from my understanding.I thought about having a database for the strips, where an image file, page ID, (chapter/volume number, commentary, etc etc), and music file is defined. When the music file defined on the page to be displayed is different than what is playing, the music changes. But it does not, under any circumstance, change to a new song in the middle of a strip, as a playlist would (which is most wordpress and audio widgets in general).Other things I'm unsure of (because I haven't tried it yet) are how to connect the list of comments to each particular strip individually, and how to load new comics, comments, and ads without creating a new page file for each and every one. I want to make it as quick and easy as possible to add new content without having a billion html files like back in the dark ages, but I still want users to be able to link to a specific page. TLDR; Again, I've read MOST of the tutorials and understand most of them, and I still have no idea WHICH route I should be looking into and researching further in order to make something like the above. A simple point in the right direction (so I can continue the Google search and know for certain there's a light at the end somewhere) is all I ask, but if anyone does have specific answers to these questions, I'd be happy to have them. I just don't want to start looking into, say, classic ASP, when I should be using PHP or something, and find out only after weeks of work that I should have gone down a different route.Thank you for your help!!

Share this post


Link to post
Share on other sites

As you've already realized, both PHP and ASP.NET, as well as any other web language can do what you want to do.How easy it is depends entirely on what you're more familiar with. PHP is probably easier for newbies to web development though, since you can embed just portions of it "inline" with HTML. This is not exactly a best practice, but with that out of the equation, it boils mostly to a matter of preference. At this forum, you'll find more people able to assist you with PHP, but ASP.NET has an equal following on other forums, so that's not exactly a base for comparison either.

At first, I thought about using AJAX to reload the strip, ads, and comments, and only load the music when the strip changes. Still unsure whether this is the correct/easiest method.
It's sort of the only method. Except that you don't even need to (re)load the music when the strip changes. You only need to (re)load the music when the new strip requires it.
2) changes the song automatically at predefined scene changes, when the user hits the back/forward buttons and changes the comic. The music file for each comic should be stored/associated with it somewhere.
Ideally, you'd store the path to the strip and its associated music file within a database, so that using AJAX, you can only fetch those, and as mentioned, reload the music only if its different from your current one.
Other things I'm unsure of (because I haven't tried it yet) are how to connect the list of comments to each particular strip individually, and how to load new comics, comments, and ads without creating a new page file for each and every one.
That's the core idea of AJAX and PHP. You just create one file that serves as a "program" rather than many "static" file.You may have to look up the SQL tutorial for how to connect the comments. Look at the part about foreign keys in particular.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...