Blog platform that has built in syntax highlighting - php

I want to start writing some blog and I know that i will past code there so i am looking for some platform with this already built in . And that i will not need to use third party script for syntax highlighting.
As I understood Blogger and Word press dont have that built in and they use syntax highlighter .
The problem is that i am really not understand in web programming and I am not sure to install all those scripts .
Thanks .

WordPress is designed so that all you ever have to do is write - i.e. you don't have to be a web developer to use the platform while you're blogging. You add functionality through plug-ins, which are optional modules you download, install, activate, and configure within the WordPress GUI. No coding skills required.
Getting WordPress
You can get a free WordPress blog at WordPress.com. You might also be able to set one up on your own domain through your web host with a one-click-installation tool (this depends on your host). Finally, you can usually find a developer who will install WordPress on your hosted server for free (Here's an example of an Arizona developer who offers free WordPress installation.)
To install a syntax highlighter, you'll need to be running WordPress on your own server. The free WordPress.com setup doesn't allow you to install additional plug-ins. But setting up WordPress on your own server is fast, relatively easy, and as I mentioned before, very well supported by the community.
Installing a Plug-in
You can search for plug-ins and install them directly within the WordPress dashboard. Just go to your dashboard, click Plugins then click on the big Add New button at the top of the page. From this screen, you can browse available plug-ins by tag or search for a specific feature.
Once you've found a plug-in you like, click Install Now and follow the on-screen instructions to install and activate the new system on your site. Then you have new functionality set up, and you didn't have to touch any code!
Syntax Highlighting
I use a syntax highlighter on my own site for displaying PHP and JavaScript code. It's called Code Colorer, and it supports a wide variety of languages and structures - you can even use a custom theme to color/style your code snippets if you want. Here's an example on my site using PHP. Here's an example using JavaScript.
Other Resources
Here are some other places you can look for more information regarding getting a WordPress blog set up on your own system:
WordPress Web Hosting
WordPress Hosting with GoDaddy
How to Setup a Self-hosted WordPress Blog For Free
Jumping Duck Media Web Hosting (Full Disclosure: This is my company!)

Related

Missing lot of options in Wordpress dashboard Menu

I have recently installed wordpress in my bluehost hosting. However It installed it through Mojo Market Place. After successfull installation I notice there were lot of features / options was missing in my dashboard as compared to standard wordpress installation like appearance, plugins, users, tools settings etc. as you can see it in below screenshot. Due to which I am not able to perform addtional task. How do I get all standard features provided by wordpress?

Eclipse Orion PHP plugin

So for a project I need to check if I'm able to get code completion working for Eclipse Orion (on the IBM DevOps Services WebIDE) when coding in PHP. There's a default plugin available but it only provides syntax highlighting. Code completion is the deciding factor this time.
Just googling around I've found some plugins here and there in various git repos but they seem to be for an outdated version of Orion, hence not usable here.
So, just a quick throw out if someone is using IBM DevOps Services WebIDE (or some Eclipse Orion implementation) with a PHP plugin with code-completion? Preferably a link to installation steps since I need to educate a programming class on how to set everything up from a clean slate.
Orion's Go language plug-in provides a straight-forward example of contributing content assist via a plugin, see http://git.eclipse.org/c/orion/org.eclipse.orion.client.git/tree/bundles/org.eclipse.orion.client.ui/web/plugins/languages/go?id=R7_0 . To make something similar for PHP you would create a plug-in with the same shape that defines at least the "orion.edit.contentAssist" service, and then install it in your Orion/WebIDE on its Settings-Plugins page (point it at your plugin's .html file).

How to build a bespoke website driven by Wordpress

My questions about Wordpress
From what I can gather, Wordpress is fast becoming the norm for building content managed websites. Up until now, I have used my own CMS systems to allow my clients to manage their sites content etc. However, I was recently asked to build a Wordpress driven website, and as the client insisted on using Wordpress, I subsequently lost the contract...
Resultantly, I am very keen to learn how to build and program a Wordpress site from scratch. I am not interested in templates provided when you install Wordpress on your server, I am only interested in building a fully bespoke website, with the ability to update the content using the Wordpress management engine.
I therefore have the following questions with regards to how Wordpress works (I am completely new to this).
Can I build a completely bespoke designed website and have Wordpress manage the content?
Are there any limitations to using Wordpress to manage the content?
Can I specify which content is editable?
Are there any 'from the ground up' tutorials on starting to build bespoke Wordpress driven websites?
Where can I find the documentation for the Wordpress API (if there is one)?
Do I install Wordpress in the same way that I would if I was using the built in template engine? In other words, do I still install Wordpress as a package in Plesk for the particular domain?
Does the code have to be in a specific format, or structure?
I effectively would like to find (or be pointed to) an article that clearly explains how Wordpress works and how advanced web developers can make the most of it.
I appreciate that this question is not really related to programming, if it needs to be moved then please advise as to where I can re-post it.
My Research
I appreciate that the answers to these questions will be located somewhere on the web, but thus far, I have been unable to find any really helpful tutorials on this specific topic.
I have read through pages such as the following, and whilst they were helpful, they do not really explain 'in brief' what Wordpress is and how it can be manipulated:
Where to start
Features and Functions
I below is my answer.
Can I build a completely bespoke designed website and have Wordpress manage the content?
Yes you can. Here you can find some sites that are built on wordpress. You can get an idea of what kind of stuff can be done.
http://designwoop.com/2011/12/best-wordpress-themes-of-the-year-2011/
http://www.tripwiremagazine.com/2012/07/wordpress-websites-examples.html
Are there any limitations to using Wordpress to manage the content?
According to my experience building wordpress websites, plugins and widgets, I would say you will rarely come across where you want to do something and you can't. If you know well enough php and understand OOP you can basically build whatever you want. In fact there are so many plugins that most of the time you could even get away with not writing anything (in your case this is irrelevant as you want to learn).
Can I specify which content is editable?
Yes. Other wise there is no point of using any CMS. I am sure this would be the most basic feature of any CMS out there.
Are there any 'from the ground up' tutorials on starting to build bespoke Wordpress driven websites?
Here are few tutorials you can start with.
nettuts
css-tricks
wptuts
And of course the best way to learn is the starter theme that comes as default with wordpress installation. You can find more themes here.
Where can I find the documentation for the Wordpress API (if there
is one)?
The wordpress documentation is quite detailed covers most of the things. While learning or even further this will be your best resource. I usually tend to read the code itself if I want to know how the function works and other details which of course documentation won't cover.
Do I install Wordpress in the same way that I would if I was using
the built in template engine? In other words, do I still install
Wordpress as a package in Plesk for the particular domain?
Installing wordpress is as simple as copying it to your server and accessing it via the browser. You will get on screen step by step instruction. It could not be easier than that. And if somehow you got stuck, there are hundreds of tutorial online or you can visit the wordpress codex site.
Does the code have to be in a specific format, or structure?
Of course you would be following the wordpress coding style (not necessary for but recommended for sake of being consistent). Depending on your skill level you will fairly pick up the standards.
If you are building plugins or widgets, which I assume if you want to build sophisticated websites, you must follow the coding standards.
By the sounds of it, you need to learn about writing a theme from scratch. A Wordpress theme gives you absolute control over the HTML that's outputted by the engine. You can therefore customise your site to look however you want it to look. My company website, tec20, was designed this way without any themes used from wordpress.com. Obviously the themes are aimed at writing blog sites, but you don't have to include any of the commenting hooks, for example.
These tutorials may help:
http://rockablethemes.com/wordpress-themes-tutorials/

Can Drupal be used as a shell for custom web apps?

I am looking to create a web site that will need to exchange information with a Filemaker Pro (version 11) database. Using PHP I can create simple web apps that submit and retrieve data from Filemaker. I would however like to use a CMS framework (such as Drupal) to allow users to control access to the site and update site content (blog posts, images, etc ...).
Is it possible to use Drupal as a "shell", controlling access to certain pages and allowing site editors to modify content, while embedding a PHP page/form to interact with the Filemaker data? I would be planning to use MySQL for Drupal and the custom "web apps" would access Filemaker. Thanks for any help.
Have you ever heard of the expression "there's a module for that?" It's used quite a bit in the Drupal world. And yes, for Filemaker, there is a Module for That!. It's called, the Filemaker module, see more detail at http://drupal.org/project/filemaker.
Now I've never tested it, so it may not give you everything you want. But the beauty of open source is that you can always contribute what it doesn't already have. Or at least see how they did it to see if its worth it for you to try your own integration.
Now this module is one version behind current, so maybe you can learn Drupal by learning to upgrade the module. There's great guides on how to do this.

Automatic Wordpress installation?

I've been wondering about making a blog hosting site like blogspot as a bit of a hobby. I figure Wordpress would be ideal to use but I'm not 100% on a lot of things related to this. Can I simply create mysql databases and wordpress installs with php functions and keep it secure from possible hacks? Or would the server as a whole need its own software to handle this securely?
Wordpress Mu
is a better choice for such site.
Most hosting packages come with one click install of Wordpress. I used to have a Netfirms plan that I got for $10! Just click and install as many Wordpress sites you need.
Security with Wordpress is very strong. They have been around and the software is mature. You wouldn't be exposing yourself to much danger by templating the site.
You can try Wordpress using the WAMP server.
We created an open source script for this purpose, you can find it here http://buckhill.github.io/linux-package-installer-for-wordpress
We wrote an article on how to use it here: https://www.buckhill.co.uk/blog/how-to-automatically-install-wordpress-plus-plugins/6
If you want to contribute to the project, please go ahead :)

Categories