How to insert coding and Maths formula into database - sql-server

I am working on a project which contains the question with options and solution of that question. I want to display the Mats equations and some coding questions on webpage. So my query is what will the the procedure to insert those equation into Database and display it on my webpage.
for the reference I want to display like this following link :
http://www.indiabix.com/aptitude/compound-interest/
http://www.indiabix.com/c-programming/functions/
Thanks

Frankly speaking as far as I understood your problem you do not have Idea about coding (I may be wrong but as you are not suggesting any particular database and any technical stuff I'm assuming this.)
You can use prebuilt frameworks for this job you don't need to design application from scratch unless it is your some project.
Some suggested Links are this ...
Moodle
WordPress
You need to find plugin after installing these frameworks on your webserver bundle
For that you can use
WAMP on windows or LAMP if on Linux
But Again your question too general. Give some inputs first
Information About Moodle:
IF you go throught moodle webiste you will get to know that how powerful LMS( learning management system ).
You just need to know how to configure such websites
Go through this video tutorials if you want to
Infromation About WordPress:
Wordpress is general purpose Website so you can develop any service with it very easily and everything including database is taken care by it (same case with moodle but moodle is more focused on LMS )
You have to search for LMS plugin inside wordpress for your purpose.
KINDLY ACCEPT THIS ONE AS ANsWER if you find information usefule... (Points help me contribute more and allows me also to ask question)

Related

Wordpress and database basics. Where to start?

Hope you are doing all ok.
I am new to programming and I've been messing around with some things: javascript in Google app script, some python lines too, and some basic SQL skills too. I managed to create a simple system for a nonprofit organization and now I would like to learn about Wordpress and how to connect a database (phpmyadmin from xampp) to my Wordpress Frankenstein. I managed to create a simple (VERY simple) site and I've been playing a while with xampp, but now i would like to:
1- send data to my database from my Wordpress site (I know how to build a form already).
2- send data from my database to my Wordpress site.
3- edit data stored in my database using a Wordpress form.
I know there are a LOT of things involved in my questions but I just want a... mmmmmm... starting point, maybe? what should I learn, read, study to accomplish this task?
Sorry if this question is too newbie or basic for some people here but as I said before: I am learning. I've been looking around for about one month but I really don't understand how it works.
Thanks a lot guys/girls for taking the time to read my question and, more important, thank you in advance for your advice.
A great way to start learning a language/how to achieve something is to either take a course on coursera/khan academy/youtube or google it!
A few quick resources I found:
1) Working with Databases in Wordpress
2)How to build a Wordpress Database Table
3)Beginners Wordpress Database Guide
Hope it was helpful!
PS:First Answer, if anything is wrong with this please let me know!
The situation each and every of us faced when we have been started !
Lets share my learning from that mistake with you.
Don't focus on too many thing.
First use WordPress and all popular plugins as user and try to understand how its work and what is the usability of the plugin.
try to read some guideline , Obviously w3 school.
If you are not good in PHP , Then try to learn PHP first. Then OOP in PHP from w3 school.
After that try to start developing a small plugin like "A plugin to print Sunshine after each content " or "A Plugin to extend Wp User Profile Info Like to add Facebook link or Twitter Link"
Both having proper tutorial. So check carefully from envato tutus.
Start learning by building things , Not like start learning by only reading. And thats the journey --- let me know if there I can help you in any way :)

Know any documentation for taking existing cakephp site and integrating into Croogo?

My employer runs a website with a homebrewed CMS that it has outgrown. I would prefer to use Django, but since everything is already in PHP, and I know the Cakephp framework, I'm going to just rebuild it in Cake. I've already done the gap analysis between the current site and the Cake version and it looks doable.
However, I need the site to have a CMS and don't want to put one together myself. I'd rather not reinvent the wheel. Croogo seems like the most actively developed and positively reviewed Cake CMS, so I'm leaning in that direction.
The trouble is I can't find any detailed documentation of how Croogo handles the database relative to Cake. I understand there is a direct link between the two, but is that enough for me to just trust that I can easily take an existing Cake site and magically integrate that with Croogo? I have a strong feeling that it won't be that simple.
I plan on to creating a fake croogo site to try to look behind the curtain, but I'd rather not have to reverse engineer the whole thing. So, does anyway know a bit about my scenario or have a resource they can point me to?
I doubt I'm the only one who wants to migrate an existing site to Croogo.
It really isn’t that difficult to build something in CakePHP. As long as your database is normalised, and you have your models set up correctly, you can easily “bake” something specific to your needs. User authentication with bcrypt-hashed password is easy to add, as is authentication and ACL.
I have a starting point that covers the above that I use for each CakePHP project, and can quickly build bespoke websites in CakePHP with little effort, without having to shoe-horn it into a CMS or plugin. Once you go down that road and start working around a particular CMS or plugin, you’ll find yourself quickly in the same position (outgrowing your chosen CMS/plugin’s capabilities) as opposed to building something that’s fit for purpose.

In Drupal should I use content-types or database abstraction layer?

I posted a question on the Drupal forum about whether I should build my database in Drupal using content-types or the database abstraction layer and schema module: [here][1]
Any advice would be greatly appreciated.
[1]: https://drupal.stackexchange.com/questions/98020/should-i-use-content-types-or-database-abstraction-layer
I'd recommend using content types.
For a PHP coder, sometimes using the Drupal User Interface to build things feels non-intuitive, but in the long run you're going to benefit a lot from doing things "the drupal way.
Once you reverse engineer your need into a content type and all it's associated fields, install the modules that provide those field types and set things up, you'll start to see the benefits.
Validation on all the data-entry froms will already be done for you.
Multiple display modes are available for your data (email addresses can be shown with or without mailto: links, images can be shown using any of Drupal's image styles)
Integration with other Drupal modules already exists, and will be supported (almost anything built with fields is available to views)
By writing your own schema you'll need to handle all these things yourself (and more), and not just once, but you'll need to maintain all that custom code over time.
Learn to leverage the community and all the great work that's been done already, you'll save yourself time in the long run :)
What i see you are going to have shop site.
You may tray this:
https://drupal.org/project/commerce_kickstart
, i've found it usefull once. It's drupal distribution with nice themed shop rady to use straight forward.
And of course do it with content type + views + entity reference modules.
Here is a link to a comment that answers the question I asked. It backs up what arpitr outlined in their answer on the orignal post on the drupal forum, whose answer is also in agreement with jenlampton's suggestion above.
https://drupal.org/comment/7848011#comment-7848011
I will implement my system using node entities until the need arises to build a custom entity (if it ever does).
The top answer in this forum give a good way to evaluate whether to use nodes or custom build an entity:
https://drupal.stackexchange.com/questions/22586/when-is-it-appropriate-to-create-an-entity-versus-just-adding-a-new-content-type

Creating an online Asset Library/Catalogue? Help

I've been asked to look in to creating and online database for sorting flash banners. So its kind of like a big resource library where our client can log on search and browser for old/existing banner creatives.
Does anyone have any recommendations on what I should do/look in to. CMS Framesworks etc.
I'm pretty sure I could use Wordpress for this job via custom post types etc. But I think there's probably a better solution out there. Drupal? Joomla? Expression Engine? Or would it be better to just create a basic cms from scratch.
Features needed:
Kick arse search functionality (am guessing the client will likely try to search for creative by year, month, campaign, banner type.
Smart navigation
Sharing is convenient
Must be able to demo working demos of expanding banners as well as non-expanding
CMS so new ads can be easily added to the library.
Thanks in advance for you knowledgeable insights :P
cheers
Although basic Joomla has own extension for this purpose, here:
http://extensions.joomla.org/extensions/ads-a-affiliates/banner-management , you have got a whole set of advanced extensions which do the job for you in Joomla. Read opinions and choose your favourite

How do database driven blog-style websites work? [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 5 years ago.
Improve this question
Before I start: I know this is a very broad question, but it is the best way I could phrase it, I have searched around a lot and can only seem to find generic explanations. I searched SO and didn't find much. I have also skimmed through some pages in the wordpress codex, and didn't find anything really useful.
I would like to create a simple database driven blog-style website, it will really only consist of stories (their title, date, content, etc), I just began teaching myself web development and my idea of how database driven websites work has proven to be completely wrong. I figured you would always need a file connecting to the database for each article, but the more I read I learn about mark up being generated on request, and so on, so the actual /year/month/day/article doesn't actually have to exist on the server, or that may be wrong, that is why I am here.
As I said I cannot find much on this topic that isn't a generic graphic of a server interacting with a web page. How does one go about creating a database driven website of this style? Are the files/directories not actually on the server but only created on a case by case basis as someone requests it? If so, then why can you type out a complete url and it be there with out throwing a 404? I have a lot of questions, really all I need is a strong explanation of how these sites work, code examples, and so on. Could someone explain how they work or point me to information (recommended articles, examples or books)?
EDIT: Please don't recommend a framework, I want to understand how these sites work and build one myself.
It's actually quite simple. Wordpress's index page calls wp-blog-header.php. That file calls for other files, and those files call for other files. It goes on for some time until all the contents of the page are actually loaded.
The databases come in when you start thinking about having users. Obviously the user information is stored in the database. Beyond that, Wordpress keeps post titles, dates, and other information in the database for easy loading later on.
Comments are also stored in the database. Each comment is associated with a number, and in the database, just like the posts, the dates/times as well as the usernames associated with the comments are kept.
Further exploration in the actual Wordpress files will reveal a lot of interesting features.
You might want to check out Django. It is an open source Python web framework that provides a lot of the functionality you are talking about. It also has a lot of very good high-level documentation with even a free e-book. It is centered a bit more on newspaper type sites than blogging, but most of the same principles apply. If you are new to python and like to use IDEs I would recommend checking out PyCharm. It has tight Django integration and makes for simple project setup and debugging.
Generally speaking, you'll use a framework that will take input parameters (year/month/day/article), run some code to fetch data from the database, and dynamically create the webpage. There isn't an actual .html file sitting on the webserver. One of the most popular frameworks to do websites like you're describing is Ruby on Rails, which makes it incredibly simple to do.

Resources