由买买提看人间百态

topics

全部话题 - 话题: object
首页 上页 1 2 3 4 5 6 7 8 9 10 下页 末页 (共10页)
h******b
发帖数: 312
1
来自主题: Apple版 - Objective-C ARC in XCode 4.2
Free webcast: automatic reference counting (ARC), tonight in 1.5 hrs, new
features for the iOS programming language: objective-c: http://tinyurl.com/4xcpmez
p*********e
发帖数: 17
2
Hi, Friends.
My PERL script is written in Object Oriented Programming
style; it called another perl script which is written in procedure style.
However, it failed. I guess if the reason is about the compatibility of
the 2 programming styles.
I wonder if both script must be written in same programming style: either
procedure or OO?
Thanks a lot!
c******7
发帖数: 2586
3
有一本“Object Oriented Reengineering Patterns” 不错,关于 efficient and
pragmatic ways to tackle an existing code base – great for maintenance
programming and for new developers onboarding to a massive code base. The
book is no longer in print, so the authors decided to give away the book.
http://scg.unibe.ch/download/oorp/OORP.pdf
i**********0
发帖数: 359
4
想学习Object Oriented Design,希望对着个例子来看。网上z七z八的资料太多不知道
如何下手,版上有没有好的资源推荐呢?适合入门了解概念的最好。
谢谢啦!
p********b
发帖数: 7
5
来自主题: Database版 - Need help on finding dependency objects
Hi,
Currently i am verifying a list of obsolet tables and stored procs coz
my boss is aware of some are still in use by applications on production side.
I am able to find all the dependencies from the obsolete object's
database. But i cant figure out a way to get dependencies inter-databases.
Is there any approach to do that? I use sybase, by the way.
Thanks a lot
m******y
发帖数: 588
6
来自主题: Database版 - Need help on finding dependency objects
Try to use sysdepends if you can.
If not, you could use sp_helptext like the below if you try to find the
depend object of a obsolete table or procedure in whatever database you want
to search:
CREATE TABLE #tmpObjResult(ObjText nvarchar(1000))
DECLARE @ObjName nvarchar(100)
DECLARE curObject CURSOR LOCAL READ_ONLY FOR
Select s.name from sysobjects s
where s.xtype<>'PK' AND s.xtype<>'F' AND s.xtype<>'IT' AND s.xtype<>'D'
AND s.xtype<>'C' AND s.xtype<>'U' AND s.xtype<>'S' AND s.xtype<>'UQ
j*****n
发帖数: 1781
7
来自主题: Database版 - SQL SERVER 面试题, find the objects
2k5 only:
SELECT DISTINCT name, type, type_desc
FROM sys.objects
WHERE object_id IN
(SELECT object_id FROM sys.sql_dependencies A
JOIN sys.syscolumns B
ON A.object_id = B.object_id AND A.column_id = B.column_id
WHERE B.object_id = OBJECT_ID(N'tableTT')
AND B.name = N'colBB'
)
n********6
发帖数: 1511
8
来自主题: Database版 - SQL SERVER 面试题, find the objects
Nobody want to use
SELECT *
FROM Sysobjects o
JOIN Syscomments c ON o.id = c.id
WHERE c.text like '%ColumnXXX%'
Any advantage and disadvantage in using this?
*Comments contain all the source code of the objects.
**Anyway, Baozi will be delivered very quickly for former answers.
s**********o
发帖数: 14359
9
ENTITY FRAMEWORK还是有OODB的意思,至少是把RELATIONSHIP TABLES弄到NET里,
当作OBJECT使用。READ可能还行,WRITE还是用传统的STORE PROCE去写TABLE
n******1
发帖数: 3756
10
面向对象的数据库和关系型数据有什么本质区别
数据库里面的entity由不同field的定义,那和对象的属性似乎也可以一一对应,是不
是因为关系型数据库要照顾relationship,所以很多时候一个schema不是一个完整的
object
我一直没理解这个区别,所以也不理解ORM到底在干什么
L*******r
发帖数: 1011
11
FOP在Java的web 应用中很常见。这里是.Net版本。
http://sourceforge.net/projects/nfop/
NFop is a Formatting Objects Processor (FOP) that runs on the .NET Framework.
It is a port from the Apache XML Project's FOP Java source to .NET's Visual
J#. This makes it great for pure .NET reporting modules.
d*r
发帖数: 238
12
来自主题: DotNet版 - how to write an object into xml with c#
For example, I have a class
class Class1
{
bool b;
int i;
string s;
}
How to write/read an object of Class1, say theClass, into/from an xml file
without worrying the structre of the class.
In java, I can use XmlEncoder.writeObject() and XmlDecoder.readObject().
w*s
发帖数: 7227
13
来自主题: DotNet版 - Q: c# datetime nullable objects
Hi in database i have Table1,
it has 2 fields, prevDay, currDay.
sometime the fields are null in database, not filled yet.
in the code i want to check if null or not 1st,
if ((DateTime)Table1.prevDay != (DateTime?)null)
when i run it, it says Nullable objects must have a value.
what's the correct way ?
also what's the difference between DateTime and DateTime?
thanks !
k********1
发帖数: 85
14
刚下载了一个文件,里面是由shockwave flash object 和 .swf.torrent 组成的。我
怎么才能打开呢?小女子计算机水平很有限,各位高手请给出稍详细的指导。我怕自己
看不懂。谢谢。
x****g
发帖数: 2052
15
来自主题: Hardware版 - 请教shockwave flash object问题
安装什么软件才能在ppt中出现shockwave flash object的控件,以便于调用时钟显示?
我安装了adobe shockwave player,但是无法达到上述目标,在more controls里边出
现了shockwayve activeX,对此进行操作,没有movie选项,也没有任何其他选项可以
调用.swf的时钟显示, 请教专业人士指点,多谢!
o**n
发帖数: 31
16

pretty easy, your object just need to implements serializable,
and read document about serialize to do this.
r*****u
发帖数: 2013
17
来自主题: Java版 - how to copy an Object?
without using Object.clone()?
m******t
发帖数: 2416
18
来自主题: Java版 - how to copy an Object?

BTW, it just occured to me that if you don't care about the color
of the object, then a regular office copier might work very well...
c*****t
发帖数: 1879
19
来自主题: Java版 - how to copy an Object?
object serialization.
r*****u
发帖数: 2013
20
来自主题: Java版 - how to copy an Object?
This only applies to serilizable object, right?
\【 在 coconut (coconut) 的大作中提到: 】
c*y
发帖数: 137
21
I was trying to compile java programs on linux. I already installed j2SDK 1.4
for linux on my machine. But the compiler can't find the swing library and thus
keep giving me error messages wherever I have an swing object.. I looked at
the directory /lib, /jre/lib, but couldn't find a library for swing..
SO where is the libswing****? thanks.
x******g
发帖数: 319
22
how to multicast objects to clients in java?
if just use socket, i also need to write a server.
multicastsocket sounds easy.
any suggestions?
x******g
发帖数: 319
23
the thing is how to multicast objects?
sample only told me to multicast string, char...
thanks
x******g
发帖数: 319
24
I just got how to serialize objects.【 在 coconut (coconut) 的大作中提到: 】
g*****g
发帖数: 34805
25
IE wouldn't take that either. IE is way not compatible with W3C
I figure out a way using javascript