Looking for a tool to UI testing on Linux .Platform used for development is django.
The idea is that the analysts will capture the tests thru some UI and it will be able to be played back over and over again.
I've been looking to make things a little more DRY, both on my personal projects (django) and at work (JSP/struts,PHP).
SASS+HAML seem to be quite popular, but, do those outside of the Rails community generally use these as well, or do they opt for other similar solutions? Which do you use, and what was the reasoning behind the choice?
My provider installed to my site Drupal CMS. Now I need copy all my data from old site. I have tables without prefixes in my old DB, but in new DB all tables have "dp_[table_name]" prefix.
I'm looking to develop a CMS project based on UMBRACO but I also need to index the documents created and to offer search functionality therefore I would like to know if you have any suggestion for a lightweight search engine available in .net technology. The main requirement is to be simple and efficient (nothing complex like solr or sphinx ).
When writing web apps in Python, it brain dead easy to run a development server. Django and Google App Engine both ship with simple servers.
The main feature I'm looking for is no configuration. I want something like the GAE dev server where you just pass the directory of the app as a parameter when the server is started.
Is there a reason that this is more difficult with PHP?
I'm using entity framework model first development, and I need to do database migration often,
The EF database generation power pack doesn't help a lot, because that data migration never worked here.
The database migration here I mean, change the model, and then I can update the existing database from the model, but creating a new one.
Is there any free of charge tool here invented here yet? Or would this going to be a new feature of next EF release?
PS: I love django's ORM.
My CMS system allow people to post some swf on the homepage,
however, sometime there is video which is included in swf, not two files swf+flv.
When the swf video load, it near used up the bandwidth and so the page seems not response for a while ...
Can I use jQuery to control all the swf in a page that they load after the others done or maybe just load it after 3s or what?
Thanks!!
hi
i want to design a theme for postnuke cms.
and want to use css condition in the template files.
postnuke use smarty tag like
<!--[if $n eq ''] -->....<!--[/if]-->
so when i use
<!--[if lt IE 7]>....<![endif]-->
it gives some errors about tags.
what can i do?
I'm using WordPress as a CMS, and I want to extend one of its classes without having to inherit from another class; i.e. I simply want to "add" more methods to that class:
class A {
function do_a() {
echo 'a';
}
}
then:
function insert_this_function_into_class_A() {
echo 'b';
}
(some way of inserting the latter into A class)
and:
A::insert_this_function_into_class_A(); # b
Is this even possible in tenacious PHP?
Is there a way to speed up PostgreSQL's createdb command?
Normally I wouldn't care, but doing unit testing in Django creates a database every time, and it takes about 5 seconds.
I'm using openSUSE 11.2 64-bit, PostgreSQL 8.4.2
Where I can download source codes of sites on clear OOP without Frameworks or Cms? For best studying system of OPP and with perfect code where should I focus my coding style? I can learning only on examples of code whatever but i dont need script I need all site code entirely with Database data and with setting up Apache. Thanks everyone. Sorry by my English ))
P.S can you advice to me what Projects with advantages? Exactly ;p
I remember when I was developing in C++ or Java, the compiler usually complains for unused methods, functions or imports. In my Django project, I have a bunch of Python files which have gone through a number of iterations. Some of those files have a few lines of import statement at the top of the page and some of those imports are not used anymore. Is there a way to locate those unused imports besides eyeballing each one of them in each file?
All my imports are explicit, I don't usually write from blah import *
As you know, the @ characters before a php istruction suppress every eventual warning, error or notice from being raised.
Personally, i dont like this tecnique, becose i prefer to handle those errors, and in a real life, the error must no happen or have to be managed.
By the way, i find this tecnique to be applied in many scripts (cms plugins, open-source classes).
So, could the @ really be usefull (in this case, an example would be appreciated), or is just for lazy developers?
Hi All,
Please somebody help me.
I want to compress a folder (which contains images & text files as well as few sub folders) in zip,rar,tar format & then give it for download to user.
Is there any class/api/library/code to do so.
I am working on Joomla CMS.
Regards,
Shahu.
When you have a slow database app, the first suggestions that people make is to:
Track the slow queries
Add appropriate indexes
In the case you are building your own application this is very logical, but when you use a CMS like Drupal, that are people have developed and tuned, is this approach valid?
I mean, aren't Drupal tables already fine-tuned for performance? Even if I try to see which queries are the slow ones, what could I do about it? Re-write Drupal core?!?
Hi,
I have a website deeloped in ASP.NET and I want it to be accessed via local URL, for eg: http://localhost/website20
I tried once but the CMS in my website started giving error "It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level. This error can be caused by a virtual directory not being configured as an application in IIS."
Please help about the steps I need to follow.
I am going to be implementing a small custom CMS for a website. I was wondering if there are any more popular methods for implementing pagination using OOP. Thanks!
hi
i have installed "phpmyvisitors" cms to get statistics of my sites visits.
it is written in php and is open source.
i gets many useful information like:
-total visits
-viewed pages
-visitor browser informations
-visitor distribution over the world
-how visitors access to site
-how much time they spend on sites
and ....
it is some think like Google Analytics.but fewer features.
my question is:
" how does it do all of them? "
I'm working with a CMS system where I cannot control database column names. And I've got two related tables:
Table: content
+------------+----------+----------+----------+----------+
| content_id | column_1 | column_2 | column_3 | column_4 |
+------------+----------+----------+----------+----------+
| 1 | stuff | junk | text | info |
| 2 | trash | blah | what | bio |
+------------+----------+----------+----------+----------+
Table: column_names
+------------+-------------+
| column_id | column_name |
+------------+-------------+
| 1 | good_text |
| 2 | bad_text |
| 3 | blue_text |
| 4 | red_text |
+------------+-------------+
What I'd like to do here is select from the first table, but select the columns AS the column_name from the second table. So my result would look like:
+------------+-----------+----------+-----------+----------+
| content_id | good_text | bad_text | blue_text | red_text |
+------------+-----------+----------+-----------+----------+
| 1 | stuff | junk | text | info |
| 2 | trash | blah | what | bio |
+------------+-----------+----------+-----------+----------+
My provider installed to my site Drupal CMS. Now I need copy all my data from old site. I have tables without prefixes in my old DB, but in new DB all tables have "dp_[table_name]" prefix.
I have CMS table that contain CMS_STARTTIME and CMS_STOPTIME (attachment).
I want to create report to summarize exist data by using Date, Time and Year as Parameter (attachment).
I don't know how to create sql statement to meet this requirement. I'm using MySQL and MS-SQL.
Does one can help?
Thank you very much.
Hi,
I have a list and a value and want to check if the value is not in the list.
list = [u'first record', u'second record']
value = 'first record'
if value not in list:
do something
however this is not working and I think it has something to do with the list values having a u at the start, how can I fix this? And before someone suggests the list is returned from Django queryset so I can't just take the u out of the code :)
Thanks
If php and ruby are languages, and cake and rails are frameworks, how do CMS like drupal and joomla fit into the scheme... can you use them in any language and any framework?
I've set up a basic html/php submission form where people can register for our event, but need a way to replace the submission form webpage with one that reads something like "We have reached our registration limit" when we reach a certain number of submitted forms. Our database is MySQL (if that makes a difference) I've looked around on the web but people either say to count the entries by hand, or the ones that do have an automated system use CMS like drupal or joomla. Is it possible to setup an automated script that will do this?