I need to use some CPAN modules in my application. If the person who will use my application doesn't like to install the required CPAN modules by himself, or it is not allowed to install modules, how should I handle that?
...
I have my Drupal installation set up to use both Texy for markup (hand-writing HTML soon gets tedious) and GeSHi for syntax highlighting (which is about the only syntax highlighter I found for Drupal at that time).
The problem now is that since the last update to Texy seemingly nothing really works anymore. I spend a long time trying to...
I'm working on a WTL project, actually WTL 8.1 with VS2008. In many tutorials I've seen the usage of _Module global variable, e.g: _Module.AddMessageLoop. My current application creates a CMessageLoop in the stack at WinMain and later calls the CMessageLoop::Run () method. So far, it's running well. Anyone the reason (if it's necessary) ...
A site should be ready in 6 days. I am not allowed to use any framework such as Django. I am going to use:
Python modules
HTMLGen to generate HTML code from class-based description
SQLObject, relational tables onto Python's class model
?
Other
Python 2.5
A variant of the Postgres schema
Super Smack for testing the schema
Which m...
Currently, if the following code is executed:
drupal_set_message("TEST");
Only once a page has refreshed, will the message appear on the page.
I am currently in a situation where an ajax call is executing this method. Therefore, the current page is not changing. So, I need a way to include in my ajax call that after this method has b...
I have a .NET module that I need to call from an instantiated class. Can I count on only one object at a time being able to access the functions in a module (something like instantiating a module) or will I need to look at locking within the class? I can't seem to get a clear answer to this anywhere. Thanks!
...
I need Improved Perlin Noise in my Lua code.
Are there any decent open-source Lua C modules available?
Or is there any nice C library that I can write a wrapper for (perhaps with other noise functions)?
I know that it is not hard to write one myself (reference code in Java is trivial to port), but I do not want to reinvent the wheel h...
I have a simple C DLL that exposes functions from a static library. The DLL compiles without errors and I can run DUMPBIN on it to see the exports. However, when I attempt to load it with DllImport in C#, it says this:
System.DllNotFoundException: Unable to load DLL 'ei.dll': The specified module could not be found. (Exception from H...
What is the best application workflow metaphor for Drupal module?
In PHP frameworks we think MVC-style. How do we think inside Drupal?
Asumming I am writing some user-oriented module like Shop, Catalog or Forum.
As far as I understand there are no or few MVC based modules.
Should I generally treat Drupal modules (as sub-application) as ...
Hi
I'm creating new application using zend framework with several modules.
Can you please advice me, how to set Zend_Application config file, which includes modules usage?
I was trying to search in ZF manual but there's not relevant information.
thanks
...
Hi,
Can you give me a hand? I could't create vtiger 5.1 module, can't find any examples.
Can you help me?
...
I am working on my program, GarlicSim, in which a user creates a simulation, then he is able to manipulate it as he desires, and then he can save it to file.
I recently tried implementing the saving feature. The natural thing that occured to me is to pickle the Project object, which contains the entire simulation.
Problem is, the Proje...
Hi, I'm writing an ejabberd module. What it does is saving some messages into a queue. It actually works very good, there is only one thing I can't find in any documentation. I need to stop hook processing if I find a message coming from a particular user.
I.e. a message is sent to ejabberd, from user A to user B, my module (hooked to u...
My apologies if this is a duplicate; I may not know the proper terms to search for.
I am tasked with analyzing a Perl module file (.pm) that is a fragment of a larger application. Is there a tool, app, or script that will simply go through the code and pull out all the variable names, module names, and function calls? Even better would ...
I'm trying to write a slideshow for joomla. Specifically one that will be placed next to an article (no necessarily associated with the article though). Should i write a component, or a module? OR should I write a component that is placed in the page using a module (like the com_banner and mod_banner stuff in the joomla basic installatio...
I'm writing an application where users can enter a python script and execute it in a sandbox. I need a way to prevent the exec'ed code from importing certain modules, so malicious code won't be as much of a problem. Is there a way to do this in Python?
...
I am new to GWT and am going through the docs, examples, demos etc.
All the examples seem to have just one module which is loaded by a single html page contained in the sample.
What if the web app has multiple web pages/features. Can multiple web pages providing different functionality utilize the same gwt module by building the UI di...
I have a model, Show and a module Utilities
class Show < ActiveRecord::Base
include Utilities
...
def self.something
fix_url("www.google.com")
end
end
My Utilities file is in lib/utilities.rb
module Utilities
def fix_url(u)
!!( u !~ /\A(?:http:\/\/|https:\/\/)/i ) ? "http://#{u}" : u
end
end
But Rails is t...
I am new to Erlang.
Found the following -module attribute declaration in an existing Erlang project:
-module(mod_name, [Name, Path, Version]).
What does mean the second parameter (list [Name, Path, Version]) here?
I haven't found any information in the Erlang reference on it.
...
hi everyone, got a question and I hope this is right place to ask :).. don’t quite understand how payment works in magento.
client goes to checkout and lets say wants to pay as a guest, so provides address etc. and finally gets to payment methods. Then I want clients to pay thru credit card. Already have module installed for gateway (b...