Necessary programming languages for a quiz site [closed] - php

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 9 years ago.
Improve this question
this question is coming from a complete noob in programming. So, my aim is to study lots of things to create in the end from scratch a site similar to Quizfarm. That is, I need to develop a system that will allow me to create new quizes from scratch, post them in the necessary categories (for example fun quizes, serious quizes, quizes for children, for grown ups, for anything).
Visitors will be allowed to login, to have their own profile page (with the ability to upload an avatar image) and can see which quizes they took and how they scored. The site will feature a ranking system for each quiz independently, ranking for each category and total ranking (for example). In addition, it needs to have the ability that members can win small prizes (not monetary prizes, but just simple icons that will show in their profile, like achievements).
I know, my question is too vague possibly, and the whole project very large. I suppose that programming languages like php and MySQL are necessary. Which other languages should I go for (except of html/css of course for the design part)?
Thanks for your time and I will appreciate any answer.

As others have stated your question is very broad and you can use any programming language that you like. From experience however I would highly recommend that you use PHP.
It's relatively easy to learn, very adaptable and it doesn't mind if you make mistakes.
So for the front end HTML and CSS, for the actual website PHP, and SQL for the database
You can also use JavaScript or jQuery. It will definitely be needed down the track, but use it sparingly until you get a good web application working first. You'll mainly need it to enhance user interactivity.
Hope that helps.

HTML
CSS
PHP
Mysql
Javascript with jQuery lib
Those are the basics that you will probably need for this project

Related

Edit a css file from the live website [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 6 years ago.
Improve this question
so i want to develop a mini website builder within my website. Have a control panel where users can edit the text in their websites, i want each of those html pages to have its own css file attached to it. Now, i want it so that the user sees something like a button saying "Edit Background color" they are prompted with a color picker and on hitting save, the css file is updated without them knowing that css even exists.
I would like to know what language i can use to make the previous example happen. And if possible a hint of code.
I appreciate your answers, Braulio :)
I didn't downvote you but just for informational purposes, the reason you were probably downvoted is due to the scope of your question, The language you choose depends on what platform you are running your site on. And it is likely possible to do what you want in tons of different languages assuming your platform supports them. For an easy solution check out .net languages like c# with ajax controls for live updates without refreshes. But then again you could use ruby with rails. Or you could do most of it in the client side with jquery and javascript then send the results to the server which could utilize php. It is just to broad a question to really answer without writing the whole thing for you which nobody is going to do.

It is best to generate the html content through php classes? [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 8 years ago.
Improve this question
I've been playing around in the Web Development field for 2 years now and I am pretty proud when it comes to my progress as a programmer looking back at my humble beggining. This is not very relevant but I've wanted to back up my question with some background story. What it comes to my interest during a conversation with a friend was how to best structure your code when it comes to a website so it wil be very scalable for further modifications using an oop aproach. He suggested at the end of the discusion to use php classes to generate the html content. I personally use it like this only when the php helps me to retrieve something server-side related. I use HTML, CSS and JavaScript (in that order) as much as possible before calling in PHP. That's how it should work, in my opinion, especially when you have to work on a presentation website for example. What's intrigue me thinking about my friend proposal is that I structure my code that way using php clases to echo html content parts like header, menu, forms, slideshows, footer etc. will indeed scale my code way better and help my programming skills progress. I should end up with an index.php that returns objects of the respective classes creating that way the desired html content. This is how I image things working and I am asking you to help me reach a decision. I have some upcoming free time available and I want to invest it in becoming a better web developer.
It is generally a bad idea for all HTML to be generated this way.
In professional web development you often have front-end developers and designers whose only responsibility is the HTML/CSS/assets and/or JavaScript. The backend developers, (the ones writing PHP code), are usually responsible for the business logic of the application.
By having PHP generate HTML you are violating separation of concerns principles. Things will get messy. It's harder to scale up, and you will lose the benefits of being able to use a HTML editor.
Generating HTML serverside dynamically has uses in very specific circumstances. It can be done, but just because you can, doesn't mean you should.

Replacing my current CMS [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 9 years ago.
Improve this question
I'm currently using a very simple CMS which I coded myself in PHP and mysql. It's main purpose is to add news articles and reviews. I've had some issues with security at times and uploading images. Would it be fairly simple to implement something like Joomla to my static existing html pages which are coding linking to my database?
Any help or nudges in the right direction would be appreciated.
Depending on exactly how complex your site is, what your plans for the future are, and whether you'll ever have any collaborators, you might want to avoid Joomla. It's a very big, complex piece of code, with a lot of features. Joomla assumes a lot about your site, adding weight which may be unnecessary. For example, Joomla will always create a session, using its own database storage, whether you require sessions on your site or not [*].
If you want something a bit more lightweight, take a look at Perch or Kirby. Both are excellent, simple applications for web content management.
[*] Caveat: I am not a very experienced Joomla user (have been using 1.5 for about 6 months), so take the details of what I say with a pinch of salt, but bear the general point in mind.

portfolio website - how should i begin [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 11 years ago.
Improve this question
I have this plan to create my own portfolio website and it has been bugging me for two months already. the portfolio is like any typical portfolio - intro, services, contact, blog but i plan to make it from scratch with or without a CMS/Framework. i have already planned bunch of how it works in diagrams, pseudo-code scribbles
but how do i start? should i start as a static website and work my way into the JS, PHP and SQL or should i drop the interface for later and do the other way around by doing the back end actions first?
Build front to back. Start with the navigation as it tends to be the pivotal area that the site revolves around - most of the personality of the site tends to end up in the header as well.
By starting there, you will find yourself creating an ID/Class convention, and starting to code the foundation of your more intense and interesting scripts.
I've built quite a few sites in my time and I have found this is the most natural progression of things, but of course, everyone is different.
Building the back-end first is an invitation for trouble if you ask me.. start with practice and apply theory rather than starting with theory and trying to realize it.. its like walking up the down escalator!
Build it like any other website. There's nothing wrong with using a framework or CMS platform for your own site. If you're any good, you'll hardly have time to dedicate to your own site so using an off-the-shelf package and then designing the site on top of it may be a good idea.
Both.
If you have designs (photoshop? drawings) you might want to finish them of (basing, slicing, whatever you want to call it) as basic HTML. Now you have a static website (non functional) just for the design)
Another tier for your site is the framework/basics (your own or a ready made) that need to work.
And in the end you pour the design over the framework, sit back and watch the money come in :P

is there any profit of using E-commerce PHP Frameworks? [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 8 years ago.
Improve this question
I want to know from a technical view if there is any profit of using E-commerce PHP
frameworks instead of hard coding every single detail in the website.
I see everybuddy talk about using those but is there any real profit (not just because it is more easy it should be done no ?) for now i have a project of a commercial site and i have build-ed from scratch the search engine and the navigation system and some other few things any help please (NO VOTE DOwn PLEASE if this is a bad question one comment and it will vanish).
the good things in E-commerce PHP frameworks is that they are well documented, easy to install, full functionality, less to work as updates and upgrades most of the time.
if you want to build one from scrach you should take a note that it could last several months (depends on the size of the project) and you will never know what bugs you have ... as the only person who knows the backend is you.
there is a profit ... since a new one from scrach takes a lot of time and testing ... and time=money ...
Why don't you test, most of them give out demos and there are a lot of them that are open source ...
e-commerce is more of a pain in the ass than you think at first. you have to make a large order form and build validation and sanitation scripts and spend a lot of time making the layout not look like scrap, encryption and SSL integration and then after all that it needs an admin with way too much to account for. i've done this and ... never again.

Categories