Create WordPress plugins using Ruby - ruby

I would like to create a WordPress plugin using Ruby (language). I understand that PHP is the primary server-side language used with WP. I don't know PHP, but know a great deal about Ruby, which is also a server-side language. Can anybody help?

based on previous experience and some reviews of similar questions on SO, there are ways you can call Ruby from within your Wordpress code. The simplest and elegant solution I've seen to this is here : http://code.tutsplus.com/tutorials/build-a-custom-api-to-connect-wordpress-with-ruby-on-rails--cms-21189
There are loads of arguments for going with both solutions at the same time, but probably the easiest read is this https://bernardic.ca/2012/07/08/rails-vs-wordpress/
Enjoy!

Related

jQuery BBQ, Address or any other hashchange plugin - Recommendation

I am looking for a plugin or function that gives you SEO friendly way of dynamically loading pages, bookmarking via Ajax. I know this has been asked a lot.
The things that irriate me: I used to go with jquery.address plugin for it, but to be honest this plugin always seems quite complex to handle. I also looked at other plugins, e.g. jQuery BBQ. I know it's recommended quite a lot. But: the plugin hasn't been updated for 2 years now (link). Now I am wondering if there is anything that I am missing or even if it's included in jQuery 1.9. Nevertheless I checked jQuery documentation and I couldn't seem to find anything.
Since I am using ajax quite a lot lately and I would love to know what other people use and I am glad for any recommendations.
Many thanks and best,
Mike

Ruby: Lightweight web server

I'm developing at Ruby on Rails. It's good framework and etc., but now I need to make one little promo-site. It can be done at simple HTML, but should have content at two languages.
It will be very pretty if I can use some super-fast and lightweight framework. Something like Ruby on Rails, with ERB-templates, partials and YAML-files for internationalisation, but without ActiveRecord and blah-blah-blah. Any ideas?
If the website can be done using static HTML, but you want the comfort of templates and YAML internationalization, you might want to take a look at Middleman, which does exactly that. :)
Sinatra? Renee? These are the small frameworks that are great for this kind of job.
Mini-rails can also be a good solution to your problem, especially if your website might grow one day or another

CodeIgniter 2.1.0 Template Library

Recently CI 2.1.0 is out.
I have a question. As I recognized that the CI folder structure has been 'evolved' (easy to setup, automatically defines base_url,etc), I'm wondering if the current template libraries like Phil's,william's concept,ocular,etc.. can be adapted to this new CI version.
I've tried Phil's but no luck, I mean..I don't know if I'm missing something this time, and ocular, also, to no avail ( I don't subclass the Controller, as suggested here)
Any better templating suggestions that will be suited enough to the latest CodeIgniter 2.1.0?
Thanks.
It seems like from the comments above that you're having trouble finding any resources online on the matter. Here's my suggestion for you:
Check the CodeIgniter Change Log here, and compare all the changes between this newest release, and the release that you know last worked with the template libraries that you've mentioned above. Use deductive reasoning, and see if you can find a way to modify the templates you need to work with the current CodeIgniter structure. I know that's a lot of work, and is not ideal for your situation. Regardless, it's the best advice I can give at the current moment. Good luck, and happy reading!

Anyone knows of a question answer script based on codeigniter?

Anyone knows of a question answer script based on codeigniter ?
Commercial or open-source ?
I don't find such scripts using Codeigniter, but you might want to take a look at this one, which uses Django framework.
http://code.google.com/p/soclone/
or you might want to browse around other scripts:
http://www.enfew.com/9-free-stackoverflow-clones-and-qa-scripts/

Extend RedCloth via Redmine plugin?

I'm new to Ruby/Redmine/Redcloth but I'm trying to achieve the following:
The default way to build a link in Textile is "foo":http://bar. However, 90% of the day I use Atlassian products, which use [foo|http://bar] as link markup.
To keep everything a bit uniform I'd like to implement this in Redmine via a plugin. However, it appears that you can't change the macro syntax so instead I'll have to look into extending RedCloth to accept this form of inserting links.
Does anyone know how I can achieve this?
Thank you and merry christmas,
Dennis
You might consider switching to one of the two Markdown plugins (one is Markdown Extra-like, based on Bluefeather), which are a bit more similar in link style, although not the same as what you are used to. Since you use SO, though, you're obviously familiar with it.
Otherwise you'd have to write a full plugin, for which either of the plugins I've mentioned would serve as a good model. Best of luck.

Resources