Programming :: Coding Dilemma: Build Application With PHP Framework?
May 7, 2009
I've been a PHP developer for about 6 years now - the last two years I have been pretty inactive though. Just recently though, I have been reading resources on all the different programming patterns (Factory, Singleton, Registry, Observer, MVC, etc) to try and get my head around good programming techniques. For myself though I find that I can only truly understand how these methods work when I am forced to do them myself.I have a large project I am doing at my workplace (me only) that involves building a very complex PHP application.
I would like to know your professional opinion; should I spend the extra time to program this PHP application myself and really, properly learn all these different programming patterns? Or, should I just build on top of a PHP framework like the Zend Framework for speed's sake (and flexibility/features)?
I have found understanding exactly how the Zend Framework works hard, just because I haven't been exposed to using these programming patterns myself. I hate that - I want to fully understand exactly what is happening in my application and know exactly how each part relates to others.
i want to make a screen capture program for linux as my software engineering project. but i am not getting from where to start. i have a bit knowlege of gtk and that of c/c++ but from where can i get other references which i should know for building it.
i want to do any mini project based on Opencl in Linux platform.so please suggest me some application projects as early as possible.please suggest exact project name .and also i have intel i5 processor and integrated graphics card .I use ubuntu desktop OS.So how I install Opencl framework on my system.
I have a test framework written in tcl which i run for 5-6 hours.Now i want to retrieve the pid of the process (execution using framework) as first few line of the script and do some processing.
What sort of libraries can i use for coding of sniffer program for windows and linux? The sniffer that i want to code is for capturing the list of connected clients to AP wirelessly. I do know that the wireless NIC needs to be in 'monitor' mode in both windows and linux.
i am using front end as java and back end RHEL5.i am trying to calling a bash script with java. but i am facing problem.i am using following java coding to use call the bash script
import java.util.*; import java.io.*; public class b
From this thread I've decided to try add a feature of removing local port forwardings in ssh.Here are some very ugly and not-yet working hacks what I made so far:
* Patch for channels.c * Patch for channels.h * Patch for clientloop.c
I was clearly expecting this to work without any troubles-everything seem to be logically correct, but I made a programming mistake somewhere: don't know where, maybe you will point me to this?Many sites say there is a WAY AROUND with -D param(starting socks proxy as a tunnel-generator), added since 5.2, but I don't need that way around. I need a way through. I use exact ports for exact services and if I want to change it runtime I'd like to have ability to do so.If you have other ideas or points instead of coding this, please share them here & here(original question).
we usually have to access a batch of computers that is located on campus. This is straightforward enough on Windows, the OS that the computer support center cares about, but I'm interested to see how I would handle this in Debian. The process for Windows is:
1) Run the authentication program, which runs in the background. 2) Use Exceed on Demand (or Putty, but I can't really use that for my classes ), and log into the server. From there, it lets you log in to whatever computer you want. When logging on with Exceed on Demand, Solaris environment is then launched.
Now, I know there's not a lot of technical information here, and I apologize, but I know next to nothing about networking. What I do know is that I'm remotely accessing a secure computer, and then I ssh over to another computer (when using Putty, which was only command-line). I was wondering how easy or hard this would be to do through Debian, including the fact that I need to have the authentication program running.
Do Ubuntu have a build in partitioning application. What is the name this application and where is it located?
Also is it possible to create or resize other (out-side) partitions from my Ubuntu partition? I have a 1000GB drive and Ubunta now has the first 100GB. I want to work with the other 900GB of disk space useing the partiton tool from WITH-IN Ubuntu while running, if possible.
What is the name of this tool and where is it. Are there more than one partitioning tools inside the latest version of Ubuntu?
I need to build a 3 node web server cluster to run a php application. Since the app requires users to login (which means a session state is to be maintained), I will be sharing sessions save path, I also need to share the application directory across 3 nodes. I having trouble deciding which cluster file system to select.
im trying to build a simple program for my C programming class, this is the source code
#include <stdio.h> int main() { int length, width, length, height, area, perimeter; perimeter = width + length + height; area = width * length + heigth;
[Code]...
i dont see any error (you might)but every time i run it it runs but after it asks me to input for the width i do it but it doesn't take me to the length, it just stays blank until i input another value in the same place for the width, it asks me for 4 inputs in total i don;t know why, and after i run it different times it gives me different values for the perimeter and are. how can I fix this?
How can we build a packet using C?we have a structure called sockaddr_in which is use to for IPv4,so that we can define address,port and etc in this way:
I'm trying to build a spi program using c++. I'm able to perform half-duplex transfers using the read/write functions, it works perfectly. Now I need to perform a full-duplex transfer, but I'm facing some problems. When I try to receive more than one byte, the slave returns to me only one byte.Ex: I send: FF FF FF FF FF The slave must return: 03 02 00 13 04 But what is happening is:
I'm trying to setup tools for developing android apps on my Debian Wheezy (backport) system. Eclipse with android plugins is installed. Android SDK installed using android-sdk_r22.6.2-linux.tgz available from URL...My problem is I can't build the android app. The console in Eclipse tells me something (translated) like this;
Code: Select all[2014-05-30 16:36:45 - adb] Unexpected exception 'Cannot run program "/usr/lib/android-sdk-linux/platform-tools/adb": java.io.IOException: error=2, No such file or directory' while attempting to get adb version from '/usr/lib/android-sdk-linux/platform-tools/adb'
I have searched the web quite extensively but found no solution. It seems the issue may be due to I'm having a 64bit system but building the app requires some 32bit stuff.Some older posts suggest adding package by "apt-get install ia32-libs". In later posts (i.e. URL....
i am trying to create an exclude regular expression for my build.xml. The problem is, that i am trying to find some info on which REs are acceptable/valid for ant... Is ant using standard regular expressions? POSIX ones? Since it is a java-based tool, the "Java REs" are probably valid. I am a little bit confused. If somebody can help me out with the different RE standards, i would be most obliged.
I've spent all day trying to figure how to write an ant build.xml file for eclipse. I must have read 20 sites on the web but some how I just am missing it I continue to get the error
Code: /home/knox/workspace/HW/src/projectBuilder.xml:5: the file attribute is required here is my file at this point after many variations Code: <?xml version="1.0" encoding="UTF-8"?>
[Code]...
It works fine if I leave out the Main-Class line in manifest but then the jar is not executable Dick
I need to create a SW project both for Windows (written with MS Visual Studio 2005) and Linux. Currently I have a build script for windows and another for Linux. I would like to build the project for both platforms on a single PC. Is there a way of building VS2005 projects with Linux (not using Cmake)?
Im trying to build parted 2.3, but I always end-up in the same error:
Code: In file included from arch/linux.c:42: /usr/include/scsi/scsi.h:152: error: expected specifier-qualifier-list before 'u8' /usr/include/scsi/scsi.h: In function 'scsi_varlen_cdb_length': /usr/include/scsi/scsi.h:163: error: 'struct scsi_varlen_cdb_hdr' has no member named 'additional_cdb_length'
I tried now for hours to run the sip-communicator. It ends up with the following errors
Code: Failed to realize: com.sun.media.ProcessEngine@1d592a Cannot build a flow graph with the customized options: Unable to transcode format: LINEAR, 44100.0 Hz, 16-bit, Stereo, LittleEndian, Signed to: gsm/rtp, 8000.0 Hz, Mono, FrameSize=264 bits outputting to: RAW/RTP Error: Unable to realize com.sun.media.ProcessEngine@1d592a 14:55:16.400 SCHWERWIEGEND: impl.media.MediaControl.createDataSourceForEncodings().839 Couldn't realize sourceProcessor 14:55:16.400 SCHWERWIEGEND: impl.protocol.sip.OperationSetBasicTelephonySipImpl.processInviteOK().731 We failed to process the SDP description of sip:100@192.168.1.10(sip:100@192.168.1.10). Error was: Couldn't realize sourceProcessor .....
I figured out that this has something to do with the Java Media Framework, which is installed. So I played a little with JMStudio. But this dosen't work, too. It doesn't matter which sample rate I chose. I always receive the following message. Failed to prefetch: cannot open the audio device. The only audio device I can chose is the JavaSound audio capture. I'm logged in as root. printenv
I'm thinking of producing a website for a project at uni which would resemble the brainstorm website [URL]. I plan to write it in PHP with a mysql database. How I could start to plan such a project, suggest any PHP frameworks which may make the job easier, any code already available to start me off etc??
Does anyone knows a good website that discuss on how to setup zend framework on Ubuntu? I'm currently using windows as my web server, and I would like to try it in different OS.
I tried installing the mac80211 framework on ubuntu 10.10 but after i install it and restart my system , none of my network connections work. i found a solution to that problem which is a very weird solution. because none of the network connections are working . i try to activate the wireless driver from the System->Administration->Additional Drivers. But it fails , but after it fails my wired network connection comes back online. and then i have acccess to the internet . After that i activate the wireless driver again and it works. This is obviously the worst possible solution ever. So what i don't understand is why the mac80211 framework is causing these problems. after applying my "solution" i thought of checking the modules installed on my system using lsmod and i see mac80211 there. i don't understand why it is still there after i executed the "sudo make uninstall" command . code...